Skip to content

Various optimizations to improve reading/writing - #2

Merged
rsking merged 60 commits into
mainfrom
feature/optimizations
May 18, 2026
Merged

rsking merged 60 commits into
mainfrom
feature/optimizations

Conversation

@rsking

@rsking rsking commented May 18, 2026

Copy link
Copy Markdown
Member

No description provided.

rsking added 30 commits April 30, 2026 07:48
rsking added 21 commits May 7, 2026 16:00
… allocations

`LasIntervalCell` becomes a mutable struct with `uint` Start/End and an `int` Next index
into a shared `IntervalArena`. `LasIntervalStartCell` no longer inherits from it; the first
interval is stored inline on the start cell (guarded by `HasInlineInterval`), and any
subsequent intervals live in the arena.

Bulk-read LAX files now allocate ~M interval structs in one `uint[]`-sized backing array
instead of M `LasIntervalCell` objects (where M = total intervals). All 55 indexing tests
plus the 282 base `IO.Las` tests pass against the new layout, across the LAS 1.1-1.5 matrix.
@rsking rsking self-assigned this May 18, 2026
@rsking rsking added the enhancement New feature or request label May 18, 2026
@rsking
rsking force-pushed the feature/optimizations branch from 9457eac to 5112123 Compare May 18, 2026 06:27
@rsking
rsking merged commit 92eb021 into main May 18, 2026
14 checks passed
@rsking
rsking deleted the feature/optimizations branch August 5, 2026 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant