fallintoplace opened a new pull request, #2241:
URL: https://github.com/apache/iceberg-go/pull/2241

   ### What
   Speed up splitting JSON snapshot arrays when snapshot entries have long 
strings.
   
   ### Why
   The scanner can skip over string contents without checking every byte in the 
common case.
   
   ### Implementation
   - Scan string runs in larger steps while preserving escape handling.
   - Keep the existing JSON parsing behavior.
   
   ### Benchmark
   - Go 1.26.3, Apple M1 Pro, median of 5 runs; 10,000 snapshots.
   - 256-byte suffix: 3.067 → 1.606 ms/op (about 1.9x); allocations were 
unchanged.
   - 32-byte suffix control: 1.549 → 1.553 ms/op, effectively flat.
   - This measures snapshot JSON splitting, not full metadata loading.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to