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

   `ParseMetadataBytes` already validates JSON in preflight and selects the 
version-specific decoder. Call that decoder directly to skip the second syntax 
scan performed by `json.Unmarshal` before it invokes `UnmarshalJSON`. Trim 
outer JSON whitespace first to preserve type-error offsets.
   
   Adds a regression test for the error offset and a benchmark case with 64 
snapshots and populated summaries. In three matched local rounds loading a warm 
64-snapshot file, median latency went from 16.75 ms to 13.95 ms on the same 
pinned core at approximately 0.9 GHz.
   
   `make test` and `make lint` passed on the full stack.
   


-- 
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