Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change handling of nil value markers in template tables.HEADv2.1 | Mike Pall | 4 days | 1 | -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 Pall | 6 days | 1 | -1/+0 |
| | |||||
* | Change handling of nil value markers in template tables. | Mike Pall | 6 days | 1 | -0/+1 |
| | | | | Reported by Bernhard M. Wiedemann. #1348 #1155 | ||||
* | Merge branch 'master' into v2.1 | Mike Pall | 2025-01-13 | 1 | -1/+1 |
|\ | |||||
| * | Bump copyright date. | Mike Pall | 2025-01-13 | 1 | -1/+1 |
| | | |||||
* | | Remove dependency on <limits.h>. | Mike Pall | 2024-12-16 | 1 | -1/+1 |
| | | | | | | | | Reported by yupengda002. #1318 | ||||
* | | Drop unused function wrapper. | Mike Pall | 2024-09-04 | 1 | -7/+0 |
| | | | | | | | | Follow-up to #1247. | ||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2023-08-20 | 1 | -1/+1 |
|\| | |||||
| * | Bump copyright date. | Mike Pall | 2023-08-20 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2022-01-15 | 1 | -1/+1 |
|\| | |||||
| * | Bump copyright date. | Mike Pall | 2022-01-15 | 1 | -1/+1 |
| | | |||||
* | | Refactor table traversal. | Mike Pall | 2021-09-19 | 1 | -23/+33 |
| | | | | | | | | Sponsored by OpenResty Inc. | ||||
* | | String buffers, part 2e: add serialization string dictionary. | Mike Pall | 2021-06-07 | 1 | -21/+2 |
| | | | | | | | | Sponsored by fmad.io. | ||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2021-01-02 | 1 | -1/+1 |
|\| | |||||
| * | Bump copyright date. | Mike Pall | 2021-01-02 | 1 | -1/+1 |
| | | |||||
* | | Redesign and harden string interning. | Mike Pall | 2020-06-23 | 1 | -2/+2 |
| | | | | | | | | | | Up to 40% faster on hash-intensive benchmarks. With some ideas from Sokolov Yura. | ||||
* | | Improve assertions. | Mike Pall | 2020-06-15 | 1 | -9/+11 |
| | | |||||
* | | Optimize table length computation with hinting. | Mike Pall | 2020-05-27 | 1 | -33/+46 |
| | | | | | | | | 10x faster on loop with t[#t+1] = x idiom. Also used by table.insert. | ||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2020-01-20 | 1 | -1/+1 |
|\| | |||||
| * | Bump copyright date. | Mike Pall | 2020-01-20 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2019-12-08 | 1 | -5/+4 |
|\| | |||||
| * | Fix hash table chaining (again). | Mike Pall | 2019-12-08 | 1 | -5/+4 |
| | | | | | | | | Thanks to Peter Cawley. | ||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2018-02-27 | 1 | -0/+23 |
|\| | |||||
| * | Fix rechaining of pseudo-resurrected string keys. | Mike Pall | 2018-02-27 | 1 | -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.1 | Mike Pall | 2017-01-17 | 1 | -1/+1 |
|\| | |||||
| * | Bump copyright date to 2017. | Mike Pall | 2017-01-17 | 1 | -1/+1 |
| | | |||||
* | | LJ_GC64: Fix HREF for pointers. | Mike Pall | 2016-10-19 | 1 | -1/+0 |
| | | | | | | | | Contributed by Peter Cawley. | ||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2016-03-03 | 1 | -1/+1 |
|\| | |||||
| * | Bump copyright date to 2016. | Mike Pall | 2016-03-03 | 1 | -1/+1 |
| | | |||||
* | | Bump table allocations retroactively if they grow later on. | Mike Pall | 2015-05-19 | 1 | -3/+3 |
| | | |||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2015-01-06 | 1 | -1/+1 |
|\| | |||||
| * | Bump copyright date to 2015. | Mike Pall | 2015-01-05 | 1 | -1/+1 |
| | | |||||
* | | Add LJ_GC64 mode: 64 bit GC object references. | Mike Pall | 2015-01-03 | 1 | -7/+25 |
| | | | | | | | | Actually NaN tagging with 47 bit pointers and 13+4 bit tags. | ||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2014-01-16 | 1 | -1/+1 |
|\| | |||||
| * | Bump copyright date to 2014. | Mike Pall | 2014-01-16 | 1 | -1/+1 |
| | | |||||
* | | Add table.clear(). | Mike Pall | 2013-11-25 | 1 | -0/+11 |
| | | |||||
* | | Merge branch 'master' into v2.1 | Mike Pall | 2013-10-14 | 1 | -0/+7 |
|\| | |||||
| * | FFI: Rehash finalizer table after GC cycle, if needed. | Mike Pall | 2013-10-14 | 1 | -0/+7 |
| | | |||||
* | | Add table.new(). | Mike Pall | 2013-10-09 | 1 | -0/+6 |
|/ | |||||
* | Bump copyright date to 2013. | Mike Pall | 2013-02-11 | 1 | -1/+1 |
| | |||||
* | Fix despecialization of ITERN when already running. | Mike Pall | 2012-09-12 | 1 | -0/+2 |
| | |||||
* | Bump copyright date to 2012. | Mike Pall | 2012-01-23 | 1 | -1/+1 |
| | |||||
* | Workaround to compile with Clang. Fix Clang warnings. | Mike Pall | 2011-04-19 | 1 | -5/+5 |
| | |||||
* | Get rid of the remaining silly cast macros from Lua. | Mike Pall | 2011-03-10 | 1 | -3/+3 |
| | |||||
* | DUALNUM: Add integer type to core VM. | Mike Pall | 2011-02-17 | 1 | -9/+24 |
| | |||||
* | Bump copyright date to 2011. | Mike Pall | 2011-01-09 | 1 | -1/+1 |
| | |||||
* | Abstract out pointer hash to hashrot(). Tune hash constants. | Mike Pall | 2010-07-21 | 1 | -12/+9 |
| | |||||
* | Rechain pseudo-resurrected string keys with colliding hashes. | Mike Pall | 2010-07-04 | 1 | -0/+12 |
| | |||||
* | No longer let the GC replace dead keys with the LJ_TDEADKEY tag. | Mike Pall | 2010-04-21 | 1 | -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 Pall | 2010-03-22 | 1 | -22/+10 |
| |