summary refs log tree commit diff
path: root/src/libstd/arena.rs
AgeCommit message (Collapse)AuthorLines
2012-10-05Finally removing all uses of by-mut-refTim Chevalier-115/+0
The code for the mode itself is still there.
2012-10-05Demode some code using by-mutbl-ref; warn about by-mutbl-refTim Chevalier-0/+115
The parser now warns about use of mutbl-ref mode, though it's kind of a lie since this commit doesn't remove support for the mode. Changed move_val_init to have stage0 and stage1/2 versions, the latter of which is demoded. Changed the type that the typechecker expects the move_val_init intrinsic to have. After this is pushed, I can make a new snapshot, which will remove the need for the stage0 versions.
2012-09-28De-export std::{time, prettyprint{,2}, arena}. Part of #3583.Graydon Hoare-7/+3
2012-09-28std: Eliminate deprecated patternsBrian Anderson-1/+0
2012-09-26std: Demode more of list and treemapBrian Anderson-1/+1
2012-09-26libcore: De-mode at_vecPatrick Walton-3/+3
2012-09-21Install new pub/priv/export rules as defaults, old rules accessible under ↵Graydon Hoare-0/+2
#[legacy_exports];
2012-09-19std: Demode arenaBrian Anderson-3/+6
2012-09-18core: Rename 'unsafe' mod to 'cast'Brian Anderson-1/+1
2012-09-18core: Rename at_vec::unsafe to rawBrian Anderson-1/+1
2012-09-12Rename vec::unsafe to vec::rawBrian Anderson-3/+3
2012-09-12fixup mutability of vec::each, make iter_bytes pureNiko Matsakis-3/+3
also, change DVec() to work with imm vectors rather than mut ones
2012-09-07Convert field terminators to commas. Stop parsing semis.Brian Anderson-3/+3
2012-09-04std: Camel case listBrian Anderson-5/+5
2012-09-04libstd: "import" -> "use"Patrick Walton-5/+4
2012-09-02std: warn(non_camel_case_types) everywhere. still some exceptionsBrian Anderson-1/+0
2012-09-01Demode reinterpret_castBrian Anderson-9/+9
2012-08-31Make utility funs in core::int, core::uint, etc. not by-referenceTim Chevalier-2/+2
Closes #3302
2012-08-29core: Demode int/uint modsBrian Anderson-2/+2
2012-08-28CamelCasify lots of stdBen Striegel-14/+15
2012-08-22#[ignore(cfg(windows))] for a test I added to arena that involves failure.Michael Sullivan-2/+1
2012-08-21Remove a level of indirection from std::arena.Michael Sullivan-20/+20
2012-08-21Have std::arena segregate POD data and non-POD data into different chunks.Michael Sullivan-22/+77
2012-08-21Make std::arena run destructors. Closes #2831.Michael Sullivan-22/+162
2012-08-02Purge placement new; Make borrowck know about unary move.Niko Matsakis-4/+13
cc #3071
2012-08-01Convert ret to returnBrian Anderson-4/+4
2012-07-17rustc: Implement and enforce instance coherencePatrick Walton-2/+7
2012-07-11Change the interface of placement new to take a tydesc as part of Issue #2831.Michael Sullivan-2/+10
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