summaryrefslogtreecommitdiff
path: root/doc/extensions.html
diff options
context:
space:
mode:
authorMike Pall <mike>2022-06-23 09:10:43 +0200
committerMike Pall <mike>2022-06-23 09:10:43 +0200
commit4c2441c16ce3c4e312aaefecc6d40c4fe21de97c (patch)
tree0ee5ad7a3246f9a620265de9c6998308cb44a09b /doc/extensions.html
parent0065cff7e0222c234b75a71e72b8883df5d000c2 (diff)
parent2e98c3d0644fc0c265844908f43b7e4526dd819c (diff)
downloadluajit-4c2441c16ce3c4e312aaefecc6d40c4fe21de97c.tar.gz
luajit-4c2441c16ce3c4e312aaefecc6d40c4fe21de97c.tar.bz2
luajit-4c2441c16ce3c4e312aaefecc6d40c4fe21de97c.zip
Merge branch 'master' into v2.1
Diffstat (limited to 'doc/extensions.html')
-rw-r--r--doc/extensions.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/extensions.html b/doc/extensions.html
index 6802d964..040fc588 100644
--- a/doc/extensions.html
+++ b/doc/extensions.html
@@ -88,7 +88,7 @@ or LuaJIT.
88</p> 88</p>
89<p> 89<p>
90LuaJIT extends the standard Lua VM with new functionality and adds 90LuaJIT extends the standard Lua VM with new functionality and adds
91several extension modules. Please note this page is only about 91several extension modules. Please note, this page is only about
92<em>functional</em> enhancements and not about performance enhancements, 92<em>functional</em> enhancements and not about performance enhancements,
93such as the optimized VM, the faster interpreter or the JIT compiler. 93such as the optimized VM, the faster interpreter or the JIT compiler.
94</p> 94</p>
@@ -197,7 +197,7 @@ usage. See also the
197</p> 197</p>
198<p> 198<p>
199The generated bytecode is portable and can be loaded on any architecture 199The generated bytecode is portable and can be loaded on any architecture
200that LuaJIT supports, independent of word size or endianess. However the 200that LuaJIT supports, independent of word size or endianess. However, the
201bytecode compatibility versions must match. Bytecode stays compatible 201bytecode compatibility versions must match. Bytecode stays compatible
202for dot releases (x.y.0 &rarr; x.y.1), but may change with major or 202for dot releases (x.y.0 &rarr; x.y.1), but may change with major or
203minor releases (2.0 &rarr; 2.1) or between any beta release. Foreign 203minor releases (2.0 &rarr; 2.1) or between any beta release. Foreign
@@ -229,7 +229,7 @@ avoids managing backlinks, saves an allocation and the overhead of
229incremental array/hash part growth. 229incremental array/hash part growth.
230</p> 230</p>
231<p> 231<p>
232Please note this function is meant for very specific situations. In most 232Please note, this function is meant for very specific situations. In most
233cases it's better to replace the (usually single) link with a new table 233cases it's better to replace the (usually single) link with a new table
234and let the GC do its work. 234and let the GC do its work.
235</p> 235</p>
@@ -239,7 +239,7 @@ and let the GC do its work.
239LuaJIT uses a Tausworthe PRNG with period 2^223 to implement 239LuaJIT uses a Tausworthe PRNG with period 2^223 to implement
240<tt>math.random()</tt> and <tt>math.randomseed()</tt>. The quality of 240<tt>math.random()</tt> and <tt>math.randomseed()</tt>. The quality of
241the PRNG results is much superior compared to the standard Lua 241the PRNG results is much superior compared to the standard Lua
242implementation which uses the platform-specific ANSI rand(). 242implementation, which uses the platform-specific ANSI rand().
243</p> 243</p>
244<p> 244<p>
245The PRNG generates the same sequences from the same seeds on all 245The PRNG generates the same sequences from the same seeds on all
@@ -257,7 +257,7 @@ Important: Neither this nor any other PRNG based on the simplistic
257<h3 id="io"><tt>io.*</tt> functions handle 64&nbsp;bit file offsets</h3> 257<h3 id="io"><tt>io.*</tt> functions handle 64&nbsp;bit file offsets</h3>
258<p> 258<p>
259The file I/O functions in the standard <tt>io.*</tt> library handle 259The file I/O functions in the standard <tt>io.*</tt> library handle
26064&nbsp;bit file offsets. In particular this means it's possible 26064&nbsp;bit file offsets. In particular, this means it's possible
261to open files larger than 2&nbsp;Gigabytes and to reposition or obtain 261to open files larger than 2&nbsp;Gigabytes and to reposition or obtain
262the current file position for offsets beyond 2&nbsp;GB 262the current file position for offsets beyond 2&nbsp;GB
263(<tt>fp:seek()</tt> method). 263(<tt>fp:seek()</tt> method).