README.md in mjit-0.1.0 vs README.md in mjit-0.2.0
- old
+ new
@@ -1,6 +1,6 @@
-# MJIT
+# mjit.gem - RubyVM::MJIT.disable
This is unofficial. Own your risk!
## Installation
@@ -20,10 +20,14 @@
## Usage
When you use this gem, you must start Ruby with --jit. Otherwise it segfaults.
+This gem adds following interfaces.
+
```rb
+require 'mjit'
+
# This stops MJIT's internal profiler. Actually this doesn't stop MJIT compilation.
RubyVM::MJIT.disable
# This enables it again.
RubyVM::MJIT.enable