Charles KWON OhJun
30dfc0728d
perf: CDX SCAN 4ms, SCOPE 3ms — faster than Harbour
CDX optimizations (from rddfive/cdx_engine.c):
- Byte-level leaf decode (vs bit-by-bit extractBits)
- Leaf page decode cache in Tag struct
- Zero-alloc internal node traversal (direct mmap slice read)
NTX/CDX + DBF:
- loadRecord() helper for future lazy-load optimization
- recLoaded flag in DBFArea (currently always true for safety)
Benchmark (50K, ext4):
CDX SCAN: 276ms → 4ms (Harbour 6ms — Five is FASTER!)
CDX SCOPE: 238ms → 3ms (Harbour 4ms — Five is FASTER!)
CDX SEEK: 362ms → 185ms (49% improvement)
NTX SCAN: 24ms → 14ms (42% improvement)
82/82 stress test PASS. CDX 18/18 cross-read PASS.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 15:44:10 +09:00
..
2026-04-07 14:05:20 +09:00
2026-04-07 15:44:10 +09:00
2026-04-02 22:33:59 +09:00
2026-04-07 12:08:27 +09:00
2026-04-02 22:33:59 +09:00
2026-03-31 09:41:50 +09:00
2026-03-31 09:41:50 +09:00
2026-04-02 22:33:59 +09:00
2026-03-31 09:41:50 +09:00