aboutsummaryrefslogtreecommitdiff
path: root/src/lj_tab.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Change handling of nil value markers in template tables.HEADv2.1Mike Pall4 days1-0/+1
| | | | | Reported by Bernhard M. Wiedemann. #1348 #1155 Fixes from Peter Cawley, Christian Clason, Lewis Russell.
* REVERT: Change handling of nil value markers in template tables.Mike Pall6 days1-1/+0
|
* Change handling of nil value markers in template tables.Mike Pall6 days1-0/+1
| | | | Reported by Bernhard M. Wiedemann. #1348 #1155
* Merge branch 'master' into v2.1Mike Pall2025-01-131-1/+1
|\
| * Bump copyright date.Mike Pall2025-01-131-1/+1
| |
* | Remove dependency on <limits.h>.Mike Pall2024-12-161-1/+1
| | | | | | | | Reported by yupengda002. #1318
* | Drop unused function wrapper.Mike Pall2024-09-041-7/+0
| | | | | | | | Follow-up to #1247.
* | Merge branch 'master' into v2.1Mike Pall2023-08-201-1/+1
|\|
| * Bump copyright date.Mike Pall2023-08-201-1/+1
| |
* | Merge branch 'master' into v2.1Mike Pall2022-01-151-1/+1
|\|
| * Bump copyright date.Mike Pall2022-01-151-1/+1
| |
* | Refactor table traversal.Mike Pall2021-09-191-23/+33
| | | | | | | | Sponsored by OpenResty Inc.
* | String buffers, part 2e: add serialization string dictionary.Mike Pall2021-06-071-21/+2
| | | | | | | | Sponsored by fmad.io.
* | Merge branch 'master' into v2.1Mike Pall2021-01-021-1/+1
|\|
| * Bump copyright date.Mike Pall2021-01-021-1/+1
| |
* | Redesign and harden string interning.Mike Pall2020-06-231-2/+2
| | | | | | | | | | Up to 40% faster on hash-intensive benchmarks. With some ideas from Sokolov Yura.
* | Improve assertions.Mike Pall2020-06-151-9/+11
| |
* | Optimize table length computation with hinting.Mike Pall2020-05-271-33/+46
| | | | | | | | 10x faster on loop with t[#t+1] = x idiom. Also used by table.insert.
* | Merge branch 'master' into v2.1Mike Pall2020-01-201-1/+1
|\|
| * Bump copyright date.Mike Pall2020-01-201-1/+1
| |
* | Merge branch 'master' into v2.1Mike Pall2019-12-081-5/+4
|\|
| * Fix hash table chaining (again).Mike Pall2019-12-081-5/+4
| | | | | | | | Thanks to Peter Cawley.
* | Merge branch 'master' into v2.1Mike Pall2018-02-271-0/+23
|\|
| * Fix rechaining of pseudo-resurrected string keys.Mike Pall2018-02-271-0/+23
| | | | | | | | | | | | | | | | | | This is a serious bug. But extremely hard to reproduce, so it went undetected for 8 years. One needs two resurrections with different main nodes, which are both in a hash chain which gets relinked on key insertion where the colliding node is in a non-main position. Phew. Thanks to lbeiming.
* | Merge branch 'master' into v2.1Mike Pall2017-01-171-1/+1
|\|
| * Bump copyright date to 2017.Mike Pall2017-01-171-1/+1
| |
* | LJ_GC64: Fix HREF for pointers.Mike Pall2016-10-191-1/+0
| | | | | | | | Contributed by Peter Cawley.
* | Merge branch 'master' into v2.1Mike Pall2016-03-031-1/+1
|\|
| * Bump copyright date to 2016.Mike Pall2016-03-031-1/+1
| |
* | Bump table allocations retroactively if they grow later on.Mike Pall2015-05-191-3/+3
| |
* | Merge branch 'master' into v2.1Mike Pall2015-01-061-1/+1
|\|
| * Bump copyright date to 2015.Mike Pall2015-01-051-1/+1
| |
* | Add LJ_GC64 mode: 64 bit GC object references.Mike Pall2015-01-031-7/+25
| | | | | | | | Actually NaN tagging with 47 bit pointers and 13+4 bit tags.
* | Merge branch 'master' into v2.1Mike Pall2014-01-161-1/+1
|\|
| * Bump copyright date to 2014.Mike Pall2014-01-161-1/+1
| |
* | Add table.clear().Mike Pall2013-11-251-0/+11
| |
* | Merge branch 'master' into v2.1Mike Pall2013-10-141-0/+7
|\|
| * FFI: Rehash finalizer table after GC cycle, if needed.Mike Pall2013-10-141-0/+7
| |
* | Add table.new().Mike Pall2013-10-091-0/+6
|/
* Bump copyright date to 2013.Mike Pall2013-02-111-1/+1
|
* Fix despecialization of ITERN when already running.Mike Pall2012-09-121-0/+2
|
* Bump copyright date to 2012.Mike Pall2012-01-231-1/+1
|
* Workaround to compile with Clang. Fix Clang warnings.Mike Pall2011-04-191-5/+5
|
* Get rid of the remaining silly cast macros from Lua.Mike Pall2011-03-101-3/+3
|
* DUALNUM: Add integer type to core VM.Mike Pall2011-02-171-9/+24
|
* Bump copyright date to 2011.Mike Pall2011-01-091-1/+1
|
* Abstract out pointer hash to hashrot(). Tune hash constants.Mike Pall2010-07-211-12/+9
|
* Rechain pseudo-resurrected string keys with colliding hashes.Mike Pall2010-07-041-0/+12
|
* No longer let the GC replace dead keys with the LJ_TDEADKEY tag.Mike Pall2010-04-211-5/+3
| | | | | | | | Important: this changes the semantics of the write barrier! Carefully read the big comment block in lj_obj.h This helps HREFK key slot specialization and allows safely hoisting HREF/HREFK across GC steps, too (fix for a barely reproducible bug). Dead keys are only removed during a table resize (as before).
* Move colocated array part after GCtab (now properly aligned).Mike Pall2010-03-221-22/+10
|