about summary refs log tree commit diff
path: root/src/libstd/smallintmap.rs
AgeCommit message (Collapse)AuthorLines
2012-11-29impls of traits cannot define methods on the anonymous traitBrian Anderson-1/+0
2012-11-25Rename insert_with functions to update, update_with_keyBrian Anderson-8/+8
2012-11-25Add improvements to insert_with_keyKevin Cantu-1/+39
This commit adds a lower-level implementation of the generic `insert_with_key` which I expect to be faster. Now insert could be defined with insert_with_key, too, although I'm not sure we want to do that. This also clarifies the tests a bit and adds an `insert_with` function.
2012-11-25Add an insert_with_key function to the Map traitKevin Cantu-0/+7
2012-11-18Made Map.contains_key, contains_key_ref, and get pure.Jesse Jones-4/+4
2012-10-04Remove by-copy mode from std, mostlyTim Chevalier-3/+3
One instance remains in net_tcp due to a foreign fn. Lots of instances remain in serialization.rs, but IIRC that is being removed. I had to do unholy things to task-perf-word-count-generic to get it to compile after demoding pipes. I may well have messed up its performance, but it passes.
2012-10-03Remove uses of + mode from libstdTim Chevalier-10/+10
More or less the same as my analogous commit for libcore. Had to remove the forbid(deprecated_modes) pragma from some files -- will restore it after the snapshot.
2012-10-01De-export std::{rope,smallintmap}. Part of #3583.Graydon Hoare-7/+7
2012-09-28demode vecNiko Matsakis-1/+1
2012-09-28std: Eliminate deprecated patternsBrian Anderson-3/+2
2012-09-25Demode dvecTim Chevalier-1/+1
2012-09-23core: Demode optionBrian Anderson-1/+1
2012-09-19demode the each() method on vec and other iterables.Niko Matsakis-1/+1
2012-09-19De-mode vec::each() and many of the str iteration routinesNiko Matsakis-10/+4
Note that the method foo.each() is not de-moded, nor the other vec routines.
2012-09-18Replace uses of 'unchecked' with 'unsafe'Brian Anderson-1/+1
2012-09-12fixup mutability of vec::each, make iter_bytes pureNiko Matsakis-1/+1
also, change DVec() to work with imm vectors rather than mut ones
2012-09-10Make remaining moves explicit in libstdTim Chevalier-1/+1
2012-09-10Convert std::map to camel caseBrian Anderson-4/+4
2012-09-07Convert all kind bounds to camel case. Remove send, owned keywords.Brian Anderson-10/+10
2012-09-04std: Camel case smallintmapBrian Anderson-12/+12
2012-09-04Confirm demoding of smallintmap.rsKevin Cantu-1/+4
2012-09-04libstd: "import" -> "use"Patrick Walton-4/+4
2012-09-02Camel case core::opsBrian Anderson-1/+1
2012-08-29rustc: Make `<` and `=` into traitsPatrick Walton-8/+8
2012-08-27Camel case various core constructorsBrian Anderson-2/+2
2012-08-26Camel case the option typeBrian Anderson-14/+14
2012-08-23`m1!{...}` -> `m1!(...)`Paul Stansifer-2/+2
2012-08-21implement a map testing benchmarkNiko Matsakis-3/+3
This involved some other changes: - add a managed<T> wrapper that makes send_map usable from @-data - implement map<K,V> for managed<send_map> Unit tests are coming.
2012-08-15Convert more core types to camel caseBrian Anderson-2/+2
2012-08-08Convert impls to new syntaxBrian Anderson-3/+3
2012-08-07syntax: Make match arm parsing more restrictive againBrian Anderson-2/+2
Require comma separators for all expression types except the plain block
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-4/+4
2012-08-05Switch alts to use arrowsBrian Anderson-11/+13
2012-08-02Remove modes from map API and replace with regions.Niko Matsakis-11/+29
API is (for now) mostly by value, there are options to use it by reference if you like. Hash and equality functions must be pure and by reference (forward looking to the day when something like send_map becomes the standard map).
2012-08-01Convert ret to returnBrian Anderson-8/+8
2012-07-30Change syntax extension syntax: `#m[...]` -> `m!{...}`.Paul Stansifer-2/+2
2012-07-27core: Trait-ify various overloaded operatorsPatrick Walton-2/+10
2012-07-263x faster typecheckingEric Holk-1/+1
2012-07-26Add #[inline(never)], and also fixed inlining on vec::pushEric Holk-1/+3
2012-07-17rustc: Implement and enforce instance coherencePatrick Walton-2/+7
2012-07-08Add clear() to the map interface.Glenn Willen-0/+3
Add clear to the map interface, and implement it in hashmap and smallintmap.
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-25/+23
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-01Convert to new closure syntaxBrian Anderson-2/+2
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-1/+1
2012-06-27Add an overloaded [] function to the map interface. Closes #2730.Michael Sullivan-0/+1
2012-06-21Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this.Graydon Hoare-2/+2
2012-06-21Library vecs are fast now.Eric Holk-0/+2
2012-06-08revise map interface so that K need not be copyableNiko Matsakis-1/+1
2012-05-18port smallintmap over to dvecNiko Matsakis-28/+18
also: add a non-operator-overloaded method for [] to work around #2378
2012-05-03Comments only: annotate more FIXMEs in libstdTim Chevalier-1/+1