Before releasing 1.0, we'd agree on the major APIs.
For bounded pools, it seems all work well.
For unbounded pools, there are several considerations:
- To support functionality like
sync.Pool's New, shall we use the current Pool<T, M: ManageObject<Object = T>> solution, or use a Pool::get_or_create method to pass in the create fn.
Related projects:
Before releasing 1.0, we'd agree on the major APIs.
For bounded pools, it seems all work well.
For unbounded pools, there are several considerations:
sync.Pool'sNew, shall we use the currentPool<T, M: ManageObject<Object = T>>solution, or use aPool::get_or_createmethod to pass in the create fn.Related projects: