SwiftCollections v1.0.3
SwiftCollections v1.0.3 🚀
🔧 Improvements & Enhancements
- Added
LazyDisposable<T>Utility- A thread-safe, lazy-initialized disposable wrapper that ensures proper disposal of resources when no longer needed.
- Supports
IDisposableand prevents redundant disposal attempts.
- Renamed Collection Extension Methods for Clarity & Compatibility
Any➝IsPopulatedIsNotNullOrEmpty➝IsPopulatedSafe- This prevents conflicts with LINQ’s built-in
Any()method while maintaining intuitive functionality.
🛠️ Fixes & Optimizations
- Thread-Safety Improvements in
LazyDisposable<T>.- Ensures Value is only created once and disposed correctly when needed.
- Improved Documentation & XML Comments across various collection utilities.
- Clarifies usage and behavior of key methods.
📦 Package Updates
- Updated FixedMathSharp to v1.0.4
- Ensures compatibility with the latest precision math improvements.
🔹 Getting Started
- Install via NuGet:
dotnet add package SwiftCollections- Unity users: Import via SwiftCollections-Unity package.
For full details, check out the README. 🚀