You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sort packed (morton code, face id) uint64 pairs in place in hash table build
Fusing each pair as (code << 32) | face_id and sorting in place replaces
argsort, its int64 permutation array, and two gather passes. Pairs are
unique so the ordering is deterministic (ties by ascending face id).
Also free decode temporaries before the sort. Peak build memory drops
17.2 GB -> 6.35 GB (with previous commit) and build time 40 s -> 32 s on
a 101M-entry spherical UxGrid table. CSR arrays verified byte-identical;
per-cell face sets verified identical.
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments