Skip to content

Conversation

@cormacrelf
Copy link

@cormacrelf cormacrelf commented Nov 27, 2025

Allocative is a trait (see https://docs.rs/allocative) that lets you profile allocations. This gives you insight similar to RoaringBitmap::statistics(), but built-in to larger allocative traces of arbitrary data structures.

This just derives allocative on all the container types and anything within them, doesn't need anything fancy.

This is what you get:

Screenshot from 2025-11-27 11 55 50

Allocative is a trait that lets you trace allocations.
This gives you insight similar to `RoaringBitmap::statistics()`, but
built-in to larger allocative traces of arbitrary data structures.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant