summary refs log tree commit diff
path: root/src/libstd/arena.rs
AgeCommit message (Collapse)AuthorLines
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-2/+2
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-2/+2
2012-05-21change list so that it must be used in a purely boxed fashionNiko Matsakis-3/+4
The old way was inconsistent---the head was unboxed but the tail was boxed. This resulted in numerous needless copies and also made the borrow check unhappy, because the head tended to be stored in mutable memory.
2012-03-29stdlib: Remove the now-obsolete vec::alloc_len in favor of vec::capacityPatrick Walton-2/+2
2012-03-29stdlib: Actually increase arena chunk sizes by powers of twoPatrick Walton-1/+1
2012-03-29stdlib: Allow the fast path of arena allocation to be CCI'd. 15% improvement ↵Patrick Walton-9/+14
on binary-trees.
2012-03-29rustc: Add a vec::alloc_len and fix arena logic to use itPatrick Walton-2/+3
2012-03-29rustc: Don't zero out arena chunks with vec::from_elem; that's slow because ↵Patrick Walton-1/+3
it calls the glue.
2012-03-29stdlib: Fix a pointer mistake in arenasPatrick Walton-3/+5
2012-03-21Adjust arena definition to be compatible with placement newNiko Matsakis-6/+13
2012-03-20stdlib: Implement arenasPatrick Walton-0/+38