manuzhang opened a new pull request, #1174: URL: https://github.com/apache/iceberg-cpp/pull/1174
## Summary Add weight-based eviction, removal, and capacity changes to the internal `LruCache`. The default unit weight preserves count-based eviction. Hash storage grows with entries, so a large capacity stays cheap on an empty cache. Memoizer lookups report an invalid capacity if insertion returns no value. Split out of #875. The lazy allocation change addresses [the review feedback on eager bucket reservation](https://github.com/apache/iceberg-cpp/pull/875#discussion_r4690974610). ## Validation - `util_test` passed, including large limits, resize eviction order, weighted insertion and replacement, and zero-capacity memoizer lookups. - Clang-tidy 22.1.8 and pre-commit passed. -- 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]
