lumbda/c
russell@unturf.com 22571fa470 Fix MOAD-0001 defects across all implementations
asm/uncommonlisp.s — intern_symbol: replaced O(N) linear scan with
djb2 hash table (1024 buckets, chaining). 2.9x faster symbol interning
on programs with many symbols. 75 tests pass.

uncommonlisp.py — _define_record_type: replaced list.index() O(N)
with dict lookup O(1) for field→index mapping. 571 tests pass.

MOAD-0002 documented: _portal_checkpoint, _call_stack, _auto_compile
are intentional globals (hot loop performance). cc_escape_val/cc_active_jmp
are required by setjmp/longjmp call/cc approach. Comments added.

All 836 assertions pass across Python + C + Assembly + functional.
2026-04-15 14:29:58 -04:00
..
.gitignore Add C implementation: 7,429 lines, 58 tests, identical output 2026-04-14 14:55:17 -04:00
bench.c JIT: add named-let loops, let/let*, and/or, car/cdr/cons, 18 new tests 2026-04-14 20:50:24 -04:00
builtins.c Add C implementation: 7,429 lines, 58 tests, identical output 2026-04-14 14:55:17 -04:00
eval.c Fix MOAD-0001 defects across all implementations 2026-04-15 14:29:58 -04:00
jit.c JIT: add named-let loops, let/let*, and/or, car/cdr/cons, 18 new tests 2026-04-14 20:50:24 -04:00
jit.h Add GPU architecture notes and JIT header 2026-04-14 19:43:16 -04:00
main.c x86_64 JIT: 12-21x faster than CPython, 230x faster than interpreter 2026-04-14 19:58:26 -04:00
Makefile x86_64 JIT: 12-21x faster than CPython, 230x faster than interpreter 2026-04-14 19:58:26 -04:00
printer.c Add C implementation: 7,429 lines, 58 tests, identical output 2026-04-14 14:55:17 -04:00
reader.c Add C implementation: 7,429 lines, 58 tests, identical output 2026-04-14 14:55:17 -04:00
test.c JIT: add named-let loops, let/let*, and/or, car/cdr/cons, 18 new tests 2026-04-14 20:50:24 -04:00
types.c x86_64 JIT: 12-21x faster than CPython, 230x faster than interpreter 2026-04-14 19:58:26 -04:00
uncommonlisp.h x86_64 JIT: 12-21x faster than CPython, 230x faster than interpreter 2026-04-14 19:58:26 -04:00
vm.c Add C implementation: 7,429 lines, 58 tests, identical output 2026-04-14 14:55:17 -04:00