Graydon Hoare
|
4d17283371
|
Add 'items' iter to hashmap.
|
2010-09-22 17:04:08 -07:00 |
|
Graydon Hoare
|
2880ecd73f
|
Reformat standard library; no code changes.
|
2010-09-22 15:44:13 -07:00 |
|
Graydon Hoare
|
b549721a2e
|
Tighten pattern parsing on 0-ary constructors.
|
2010-09-21 16:18:47 -07:00 |
|
Graydon Hoare
|
c5f4789d5b
|
Bind pattern slots with ?, drop parens from 0-ary tag constructors, translate 0-ary constructors as constants. Rustc loses ~300kb.
|
2010-09-20 23:56:43 -07:00 |
|
Graydon Hoare
|
a9e2327a18
|
Switch tags to purely nominal, removing TY_iso and TY_idx. Seems to mostly work, possibly a little bumpy. Changes a lot.
|
2010-09-09 15:59:29 -07:00 |
|
Roy Frostig
|
66b5b9567c
|
Test the hashmap more, exercising hash collision, element removal, and a forced rehashing that actually causes elements to change buckets. In the process, find a bug in hashmap's remove() and fix it.
|
2010-08-26 19:44:38 -07:00 |
|
Roy Frostig
|
c40fed5804
|
Actually switch to using the bigger hashmap once a it finishes growing and rehashing.
|
2010-08-25 17:42:36 -07:00 |
|
Graydon Hoare
|
e846643d23
|
Fix mod-bug in std.map, work around bug in closure typaram capture, enable insert-tests in lib-map.rs.
|
2010-08-24 17:23:09 -07:00 |
|
Graydon Hoare
|
9fc4fc6692
|
Add _uint module to std, move some code around.
|
2010-08-20 11:42:44 -07:00 |
|
Graydon Hoare
|
935b4347e2
|
Mop up workarounds in stdlib no longer required as issue #93 is closed.
|
2010-08-05 10:10:39 -07:00 |
|
Roy Frostig
|
299657550e
|
Have hashmap's insert method overwrite on existing-key insertion and return true iff overwrite did not occur.
|
2010-08-03 18:57:54 -07:00 |
|
Roy Frostig
|
6277b462e9
|
More stdlib hashmap work. Add a simple test and XFAIL it due to a valgrind-spotted UMR.
|
2010-08-03 18:43:57 -07:00 |
|
Roy Frostig
|
d5fd81174e
|
Pass parametric types by-alias in various stdlib spots.
|
2010-08-03 18:06:31 -07:00 |
|
Roy Frostig
|
085790a73a
|
More stdlib hashmap bits (plus some drive-by extras).
|
2010-08-03 17:52:35 -07:00 |
|
Graydon Hoare
|
8030757624
|
Switch machine-type lexemes to use suffixes. Remove support for foo(bar) as a cast notation. Closes #129.
|
2010-07-27 19:21:51 -07:00 |
|
Roy Frostig
|
9c81889ad2
|
Add a (coarse, first-pass) deque implementation to stdlib.
|
2010-07-20 18:03:09 -07:00 |
|
Roy Frostig
|
fb68286700
|
Add incomplete hashmap implementation to stdlib.
|
2010-07-16 18:14:52 -07:00 |
|