Roberto Ierusalimschy
|
465b474899
small reorganization of 'luaV_flttointeger'/'luaV_tointeger'
|
hace 7 años |
Roberto Ierusalimschy
|
1afd5a152d
more generic way to handle 'gclist'
|
hace 7 años |
Roberto Ierusalimschy
|
e2b15aa21d
janitor work on casts
|
hace 7 años |
Roberto Ierusalimschy
|
68af7cc81a
another try with table resize.
|
hace 7 años |
Roberto Ierusalimschy
|
e663a24ab0
more freedom in handling memory-allocation errors (not all allocations
|
hace 7 años |
Roberto Ierusalimschy
|
7622373033
using explicit tests for allocation overflow whenever possible
|
hace 7 años |
Roberto Ierusalimschy
|
599f1742c6
detail (typo in comments)
|
hace 7 años |
Roberto Ierusalimschy
|
26679ea35b
new function 'luaV_flttointeger' to convert floats to integers (without
|
hace 7 años |
Roberto Ierusalimschy
|
f96497397a
new type 'StackValue' for stack elements
|
hace 8 años |
Roberto Ierusalimschy
|
73ec04fcf3
no more 'DEADKEY'. Table traversals do not need to consider dead keys;
|
hace 8 años |
Roberto Ierusalimschy
|
b6f87491af
in hash nodes, keys are stored in separate pieces to avoid wasting
|
hace 8 años |
Roberto Ierusalimschy
|
e3d52da144
BUG: in 'computesizes', 'twotoi' overflows when a sequence has
|
hace 8 años |
Roberto Ierusalimschy
|
84910e04e2
better implementation for 'hash_search', without using 'size_t'
|
hace 8 años |
Roberto Ierusalimschy
|
3d879fbc5d
reimplementation of 'luaH_getn', trying to handle numeric limits
|
hace 8 años |
Roberto Ierusalimschy
|
b1b7790f7c
detail ('1' -> '1u' in unsigned operation)
|
hace 8 años |
Roberto Ierusalimschy
|
7b1fba69b7
using 'lastfree == NULL' to signal that table is using the dummy
|
hace 8 años |
Roberto Ierusalimschy
|
d103312661
details (typos in comments)
|
hace 9 años |
Roberto Ierusalimschy
|
5100bc8aa1
no need for a special case to get long strings (not that common)
|
hace 9 años |
Roberto Ierusalimschy
|
7485512384
added comment and assert about dead keys
|
hace 9 años |
Roberto Ierusalimschy
|
46de77b219
bug: despite its name, 'luaH_getstr' did not work for strings in
|
hace 9 años |
Roberto Ierusalimschy
|
8950e0c049
avoid possibility of subtle arith. overflow
|
hace 10 años |
Roberto Ierusalimschy
|
2de3361c6c
detail
|
hace 10 años |
Roberto Ierusalimschy
|
cbef15f3ea
comment (FALLTHROUGH position)
|
hace 10 años |
Roberto Ierusalimschy
|
a71c0ab861
detail (removed useless '#include')
|
hace 10 años |
Roberto Ierusalimschy
|
65ac789565
detail (comment)
|
hace 10 años |
Roberto Ierusalimschy
|
63720a4290
janitor work (comments, variable names, some other details)
|
hace 10 años |
Roberto Ierusalimschy
|
3a91274547
details (avoid 'lint' warnings)
|
hace 10 años |
Roberto Ierusalimschy
|
a00013c8d0
'point2int' -> 'point2uint' (to reflect its actual result type)
|
hace 10 años |
Roberto Ierusalimschy
|
81245b1ad5
'numisinteger' (for table keys) replaced by 'luaV_tointeger' (old
|
hace 10 años |
Roberto Ierusalimschy
|
397ce11996
make 'hashfloat' configurable
|
hace 10 años |