3fa553d3ed0187fcbc026ab7a2e37918683ab483
syscall.Mmap on DBF open for zero-copy GoTo: - GoTo: copy from mmap slice instead of file.ReadAt syscall - Eliminates kernel context switch per record read - Unmap before Append (file grows), Close, Flush - Re-mmap after Flush Benchmark (ext4, home dir): 10K SCAN: 4ms → 2ms (Harbour 1ms = 2x) 10K DUPKEY: 6ms → 4ms (Harbour 4ms = 1x!) 10K DELSCAN: 6ms → 2ms (Harbour 2ms = 1x!) 50K SCAN: 26ms → 15ms (42% faster) 50K DELSCAN: 29ms → 17ms (Harbour 17ms = 1x!) 50K DUPKEY: 41ms → 29ms (Harbour 23ms = 1.3x) CDX SCAN: 13ms → 4ms (Harbour 6ms — FASTER!) CDX SCOPE: 9ms → 3ms (Harbour 4ms — FASTER!) 82/82 stress PASS. All unit tests PASS. 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%