heapsize icon indicating copy to clipboard operation
heapsize copied to clipboard

Increase the tuple length for implementing HeapSizeOf

Open asajeffrey opened this issue 8 years ago • 1 comments

#57 implements HeapSizeOf for tuples of length up to 5. We should increase this limit to 12, which is (e.g.) the limit on tuple Clone in stdlib.

asajeffrey avatar Jun 06 '16 16:06 asajeffrey

These impls could be generated with a macro, similar to https://github.com/rust-lang/rust/blob/master/src/libcore/tuple.rs

SimonSapin avatar Jun 06 '16 16:06 SimonSapin