b1e868f01e18bafa064054d9cbd1f479944e9a8a
NTX Bulk Build (build.go — ported from rddfive/ntx_engine.c): - pageBuffer: dynamic memory buffer for all pages - Phase 1: Build leaf pages in sequential memory (zero disk I/O) - Phase 2: Build interior levels from cached leaf data (zero I/O) - Separator promotion: remove last key from leaf only (not interior) - Single bulk WriteAt for all pages at end - INDEX ON 10K: 34ms → 5-8ms (4-6x improvement) NTX Seek (ntx.go): - Always descend to leaf on match (find first occurrence) - fStop flag tracks path match, verified at leaf APPEND Buffering (dbf.go): - Append marks dirty without immediate disk write - flushRecord writes record data only (no header/EOF per record) - Close/Flush writes EOF marker + header once Results: 14 packages ALL PASS, 82/82 stress test Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Description
Five — Harbour+Go Fusion Language (PRG→Go native binary)
Languages
Go
57.9%
xBase
22%
C
19.5%
Shell
0.5%
Makefile
0.1%