fallintoplace opened a new pull request, #1806: URL: https://github.com/apache/iceberg-go/pull/1806
## Summary - Index snapshot IDs in table metadata and metadata builders. - Keep the index in sync when snapshots are added or removed. - Keep a safe fallback for package-level fixtures that replace the snapshot slice. - Add regression coverage and a lookup benchmark. ## Benchmark On an Apple M1 Pro with 10,000 snapshots: - indexed: about 49 ns/op - linear: about 7.8 us/op Returned snapshots still use the existing defensive copy behavior. ## Validation - go test ./table - go test -race ./table/... - go vet ./table - repository-wide tests for the remaining packages -- 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]
