Update docs for release candidate.
This commit is contained in:
@@ -233,19 +233,11 @@ the corresponding metamethod (e.g. <tt>"__index"</tt>).
|
||||
|
||||
<h2 id="resumable">Fully Resumable VM</h2>
|
||||
<p>
|
||||
The LuaJIT 2.x VM is fully resumable. This means you can yield from a
|
||||
The LuaJIT VM is fully resumable. This means you can yield from a
|
||||
coroutine even across contexts, where this would not possible with
|
||||
the standard Lua 5.1 VM: e.g. you can yield across <tt>pcall()</tt>
|
||||
and <tt>xpcall()</tt>, across iterators and across metamethods.
|
||||
</p>
|
||||
<p>
|
||||
Note however that LuaJIT 2.x doesn't use
|
||||
<a href="http://coco.luajit.org/"><span class="ext">»</span> Coco</a> anymore. This means the
|
||||
overhead for creating coroutines is much smaller and no extra
|
||||
C stacks need to be allocated. OTOH you can no longer yield
|
||||
across arbitrary C functions. Keep this in mind when
|
||||
upgrading from LuaJIT 1.x.
|
||||
</p>
|
||||
|
||||
<h2 id="lua52">Extensions from Lua 5.2</h2>
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user