Open Issues Need Help
View All on GitHubFast and customizable object pool.
AI Summary: Implement a feature in the GenPool Go library to allow users to control the maximum size of the object pool. This involves adding a new configuration parameter to limit the number of objects the pool can hold and modifying the pool's logic to respect this limit. Thorough testing and benchmark comparisons with the existing implementation are required to ensure performance is not negatively impacted.
Fast and customizable object pool.
AI Summary: Add comprehensive unit tests to the GenPool Go library to cover all aspects of its functionality, ensuring thorough testing of the API and internal components. This involves writing test cases for all functions and methods, focusing on edge cases and potential failure scenarios.
Fast and customizable object pool.
AI Summary: The task is to design and implement a solution to handle nested pooled structs within the GenPool library. This involves addressing the complexities of ownership, resetting fields, and preventing data corruption when a parent struct contains a child struct managed by a separate pool. The solution should ensure efficient reuse of objects while maintaining data integrity and avoiding double-clearing or other unsafe operations.
Fast and customizable object pool.