-
Notifications
You must be signed in to change notification settings - Fork 33
Implement heapsize for all the libraries servo uses #5
Comments
I am keen to add hyper support, too. |
Part of servo/heapsize#5.
Should we advertise this library as something for the general community to use? |
@nnethercote suggests moving it into std so that std types can implement it in less hackish ways (e.g. getting a pointer from a private field): #1 (comment) |
I'm not sure if that will happen -- even the regex lib (arguably more useful) is not part of std. Post-MIR we may be able to generalize |
The argument is not that it’s more useful, but that implementing it for |
Sure, but that just makes a case for why this should be in std, not for why std would want this 😄 |
std is the ideal here, but I'd like further experience making use of it in the wider world before committing to the RFC process. |
Part of servo/heapsize#5.
Part of servo/heapsize#5.
Part of servo/heapsize#5.
Add heapsize support. Part of servo/heapsize#5. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/rust-azure/193) <!-- Reviewable:end -->
Add HeapSizeOf support. Part of servo/heapsize#5. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/rust-cssparser/85) <!-- Reviewable:end -->
Add heapsize support. Part of servo/heapsize#5. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/rust-url/123) <!-- Reviewable:end -->
derive(HeapSizeOf). Part of servo/heapsize#5. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/string-cache/105) <!-- Reviewable:end -->
Add `HeapSizeOf` implementation. Part of servo/heapsize#5. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/rust-mozjs/187) <!-- Reviewable:end -->
Add `HeapSizeOf` implementation. Part of servo/heapsize#5. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/euclid/99) <!-- Reviewable:end -->
Part of Part of servo/heapsize#5.
Add `HeapSizeOf` support. Part of servo/heapsize#5. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/rust-selectors/51) <!-- Reviewable:end -->
Add `HeapSizeOf` support. Part of Part of servo/heapsize#5. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/html5ever/177) <!-- Reviewable:end -->
Part of Part of servo/heapsize#5.
Add `HeapSizeOf` support. Part of Part of servo/heapsize#5. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/html5ever/177) <!-- Reviewable:end -->
These are all the libraries that had HeapSizeOf definitions in
components/util
:The text was updated successfully, but these errors were encountered: