diff options
| author | bors <bors@rust-lang.org> | 2013-07-06 13:23:08 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-07-06 13:23:08 -0700 |
| commit | c1c7768b32f7304e6e9fe2cb53680da9fa004d4e (patch) | |
| tree | 14dcee08b93730564549d55846774c35e5cc5e54 /src/rt | |
| parent | 3e933b199c69e1b6c32ecb65bb8f06127cfb8312 (diff) | |
| parent | 10c7698d4b43aa9bd9b30df5e0769189d3a83110 (diff) | |
| download | rust-c1c7768b32f7304e6e9fe2cb53680da9fa004d4e.tar.gz rust-c1c7768b32f7304e6e9fe2cb53680da9fa004d4e.zip | |
auto merge of #7562 : blake2-ppc/rust/deque, r=cmr
Fix an assertion in grow when using add_front. Speeds up grow (and the functions that use it) by a lot. We retain the vector instead of creating it anew for each grow. The struct field hi is removed since it is redundant, and all iterators are updated to use a representation closer to the Deque itself, it should make it work even if deque sizes are not powers of two. Deque::with_capacity is also implemented, but .reserve() is not yet done.
Diffstat (limited to 'src/rt')
0 files changed, 0 insertions, 0 deletions
