Roberto Ierusalimschy
|
13ad46b67d
uses the same double hashing that is used for tables
|
27 年之前 |
Roberto Ierusalimschy
|
1b45e967b4
table entries with ref=null always have val=null too.
|
27 年之前 |
Roberto Ierusalimschy
|
933bead92e
small optimizations(?)
|
27 年之前 |
Roberto Ierusalimschy
|
3314f49ec4
C cannot initialize a struct.
|
27 年之前 |
Roberto Ierusalimschy
|
bc930aa5ff
"free" usually handles NULL; handle non ANSI case separately.
|
27 年之前 |
Roberto Ierusalimschy
|
67b44c9493
local names are all in the constant pool, so they do not need to be
|
27 年之前 |
Roberto Ierusalimschy
|
758a381644
"realloc" usually implements "malloc"; handle non ANSI case separately.
|
27 年之前 |
Roberto Ierusalimschy
|
eec31aaca5
<string.h> is needed because of "memcpy".
|
27 年之前 |
Roberto Ierusalimschy
|
595738f6fe
small optimizations
|
27 年之前 |
Roberto Ierusalimschy
|
b5eb4f3126
small optimization in getglobal
|
27 年之前 |
Roberto Ierusalimschy
|
3fecf187ff
names...
|
27 年之前 |
Roberto Ierusalimschy
|
54840fb256
new functions to manipulate C global variables
|
27 年之前 |
Roberto Ierusalimschy
|
e87fddf1ad
GC can be called during parsing, if needed.
|
27 年之前 |
Roberto Ierusalimschy
|
dea400bc1d
"getstack" returns func, too.
|
27 年之前 |
Roberto Ierusalimschy
|
fb663f768d
"%.16g" already formats integers as integers, so we do not need an
|
27 年之前 |
Roberto Ierusalimschy
|
e03767b3eb
details (comments)
|
27 年之前 |
Roberto Ierusalimschy
|
8396027516
better precision when converting numbers to strings.
|
27 年之前 |
Roberto Ierusalimschy
|
e24f7fd2d2
details
|
27 年之前 |
Roberto Ierusalimschy
|
8081f39dab
header missing.
|
27 年之前 |
Roberto Ierusalimschy
|
3cc4ca821e
initialization module (to load libraries)
|
27 年之前 |
Roberto Ierusalimschy
|
01772cefa5
new library for debbuging
|
27 年之前 |
Roberto Ierusalimschy
|
dc90d4bce3
when handling signals (^C), deep old hook values.
|
27 年之前 |
Roberto Ierusalimschy
|
f5bc671030
"goto" for tail recursion changed to "while"
|
27 年之前 |
Roberto Ierusalimschy
|
d7294c6de8
double hashing for string tables.
|
27 年之前 |
Roberto Ierusalimschy
|
63a752f961
small improvements.
|
27 年之前 |
Roberto Ierusalimschy
|
03d38b66fd
new sort algorithm.
|
27 年之前 |
Roberto Ierusalimschy
|
b9c9ccfbb4
function "move" for tables is better implemented with some "inside
|
27 年之前 |
Roberto Ierusalimschy
|
b94110a68f
bug: "format" does not check size of format item (such as "%00000...00000d").
|
27 年之前 |
Roberto Ierusalimschy
|
8278468041
comments
|
27 年之前 |
Roberto Ierusalimschy
|
4fbb2531b3
don´t need the "+1", the "%" is enough to garantee r<1.
|
27 年之前 |