2 releases
| 0.1.3 | Oct 29, 2025 |
|---|---|
| 0.1.2 | Jun 24, 2021 |
| 0.1.1 |
|
| 0.1.0 |
|
#118 in Memory management
1,764 downloads per month
Used in 30 crates
(6 directly)
27KB
459 lines
Memory-management tools for real-time audio and other latency-critical scenarios.
OwnedandSharedare smart pointers analogous toBoxandArcwhich add their contents to a queue for deferred collection when dropped.Collectoris used to process the drop queue.Nodeprovides a lower-level interface for implementing custom smart pointers or data structures.SharedCellimplements a mutable memory location holding aSharedpointer that can be used by multiple readers and writers in a thread-safe manner.
🐟⤵️ basedrop
A set of memory management tools for real-time audio and other latency-critical scenarios.
basedrop provides smart pointers analogous to Box and Arc which mark their contents for deferred collection on another thread rather than immediately freeing it, making them safe to drop on a real-time thread.
License
basedrop is distributed under the terms of both the MIT license and the Apache license, version 2.0. Contributions are accepted under the same terms.