SwiftCollection v1.0.4
-
Enhancements:
- Multithreading Support: Improved thread safety in SwiftBVH by implementing comprehensive locking mechanisms, ensuring reliable concurrent operations.
- Object Pooling Framework: Introduced the SwiftCollectionPool abstract class, providing a standardized interface for object pooling. This addition enhances memory management and performance.
-
New Features:
- Default Pool Implementations: Added concrete classes inheriting from SwiftCollectionPool, including SwiftArrayPool, SwiftDictionaryPool, SwiftHashSetPool, and SwiftListPool. These implementations offer ready-to-use pooling solutions for common collection types.
-
Bug Fixes:
- Race Condition Resolution: Addressed issues in Insert() and Remove() methods to prevent race conditions during concurrent modifications.
-
Testing:
- Expanded Test Coverage: Added multithreaded unit tests to validate concurrent operations, enhancing overall robustness.
These updates collectively enhance the performance, memory management, and reliability of the SwiftCollections library in multithreaded environments.