diff options
author | Mike Pall <mike> | 2022-06-23 09:10:43 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2022-06-23 09:10:43 +0200 |
commit | 4c2441c16ce3c4e312aaefecc6d40c4fe21de97c (patch) | |
tree | 0ee5ad7a3246f9a620265de9c6998308cb44a09b /doc/extensions.html | |
parent | 0065cff7e0222c234b75a71e72b8883df5d000c2 (diff) | |
parent | 2e98c3d0644fc0c265844908f43b7e4526dd819c (diff) | |
download | luajit-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.html | 10 |
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> |
90 | LuaJIT extends the standard Lua VM with new functionality and adds | 90 | LuaJIT extends the standard Lua VM with new functionality and adds |
91 | several extension modules. Please note this page is only about | 91 | several 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, |
93 | such as the optimized VM, the faster interpreter or the JIT compiler. | 93 | such 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> |
199 | The generated bytecode is portable and can be loaded on any architecture | 199 | The generated bytecode is portable and can be loaded on any architecture |
200 | that LuaJIT supports, independent of word size or endianess. However the | 200 | that LuaJIT supports, independent of word size or endianess. However, the |
201 | bytecode compatibility versions must match. Bytecode stays compatible | 201 | bytecode compatibility versions must match. Bytecode stays compatible |
202 | for dot releases (x.y.0 → x.y.1), but may change with major or | 202 | for dot releases (x.y.0 → x.y.1), but may change with major or |
203 | minor releases (2.0 → 2.1) or between any beta release. Foreign | 203 | minor releases (2.0 → 2.1) or between any beta release. Foreign |
@@ -229,7 +229,7 @@ avoids managing backlinks, saves an allocation and the overhead of | |||
229 | incremental array/hash part growth. | 229 | incremental array/hash part growth. |
230 | </p> | 230 | </p> |
231 | <p> | 231 | <p> |
232 | Please note this function is meant for very specific situations. In most | 232 | Please note, this function is meant for very specific situations. In most |
233 | cases it's better to replace the (usually single) link with a new table | 233 | cases it's better to replace the (usually single) link with a new table |
234 | and let the GC do its work. | 234 | and let the GC do its work. |
235 | </p> | 235 | </p> |
@@ -239,7 +239,7 @@ and let the GC do its work. | |||
239 | LuaJIT uses a Tausworthe PRNG with period 2^223 to implement | 239 | LuaJIT 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 |
241 | the PRNG results is much superior compared to the standard Lua | 241 | the PRNG results is much superior compared to the standard Lua |
242 | implementation which uses the platform-specific ANSI rand(). | 242 | implementation, which uses the platform-specific ANSI rand(). |
243 | </p> | 243 | </p> |
244 | <p> | 244 | <p> |
245 | The PRNG generates the same sequences from the same seeds on all | 245 | The 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 bit file offsets</h3> | 257 | <h3 id="io"><tt>io.*</tt> functions handle 64 bit file offsets</h3> |
258 | <p> | 258 | <p> |
259 | The file I/O functions in the standard <tt>io.*</tt> library handle | 259 | The file I/O functions in the standard <tt>io.*</tt> library handle |
260 | 64 bit file offsets. In particular this means it's possible | 260 | 64 bit file offsets. In particular, this means it's possible |
261 | to open files larger than 2 Gigabytes and to reposition or obtain | 261 | to open files larger than 2 Gigabytes and to reposition or obtain |
262 | the current file position for offsets beyond 2 GB | 262 | the current file position for offsets beyond 2 GB |
263 | (<tt>fp:seek()</tt> method). | 263 | (<tt>fp:seek()</tt> method). |