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. |
||
|---|---|---|
| .. | ||
| Makefile | ||
| test.sh | ||
| uncommonlisp | ||
| uncommonlisp.o | ||
| uncommonlisp.s | ||