| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-12-17 | Rollup merge of #80006 - ssomers:btree_cleanup_6, r=Mark-Simulacrum | Guillaume Gomez | -28/+27 | |
| BTreeMap: more expressive local variables in merge r? ```````@Mark-Simulacrum``````` | ||||
| 2020-12-14 | BTreeSet: simplify implementation of pop_first/pop_last | Stein Somers | -2/+2 | |
| 2020-12-13 | Auto merge of #80005 - ssomers:btree_cleanup_3, r=Mark-Simulacrum | bors | -10/+11 | |
| BTreeMap: declare clear_parent_link directly on the root it needs r? `@Mark-Simulacrum` | ||||
| 2020-12-13 | Auto merge of #79987 - ssomers:btree_cleanup_4, r=Mark-Simulacrum | bors | -0/+2 | |
| BTreeMap: detect bulk_steal's count-1 underflow in release builds too r? `@Mark-Simulacrum` | ||||
| 2020-12-13 | Auto merge of #79376 - ssomers:btree_choose_parent_kv, r=Mark-Simulacrum | bors | -12/+14 | |
| BTreeMap: clarify comments and panics around choose_parent_kv Fixes a lie in recent code: `unreachable!("empty non-root node")` should shout "empty internal node", but it might as well be good and keep quiet r? `@Mark-Simulacrum` | ||||
| 2020-12-13 | BTreeMap: more expressive local variables in merge | Stein Somers | -28/+27 | |
| 2020-12-13 | BTreeMap: declare clear_parent_link directly on the root it needs | Stein Somers | -10/+11 | |
| 2020-12-13 | BTreeMap: capture a recurring use pattern as replace_kv | Stein Somers | -8/+10 | |
| 2020-12-13 | BTreeMap: detect bulk_steal's count-1 underflow in release builds too | Stein Somers | -0/+2 | |
| 2020-12-12 | BTreeMap: clarify comments and panics surrounding choose_parent_kv | Stein Somers | -12/+14 | |
| 2020-12-07 | Removed spurious linebreak from new documentation | Chai T. Rex | -1/+1 | |
| 2020-12-07 | Improved documentation for HashMap/BTreeMap Entry's .or_insert_with_key method | Chai T. Rex | -3/+6 | |
| 2020-12-05 | Auto merge of #78373 - matthewjasper:drop-on-into, r=pnkfelix | bors | -1/+1 | |
| Don't leak return value after panic in drop Closes #47949 | ||||
| 2020-12-04 | Avoid leaking block expression values | Matthew Jasper | -1/+1 | |
| 2020-12-04 | Rename `AllocRef` to `Allocator` and `(de)alloc` to `(de)allocate` | Tim Diekmann | -5/+5 | |
| 2020-12-01 | Update rustc version that or_insert_with_key landed | Chai T. Rex | -1/+1 | |
| 2020-11-28 | BTreeMap: try to enhance various comments & local identifiers | Stein Somers | -89/+118 | |
| 2020-11-24 | Rollup merge of #79358 - ssomers:btree_public_comments, r=Mark-Simulacrum | Jonas Schievink | -4/+6 | |
| BTreeMap/BTreeSet: make public doc more consistent Tweaks #72876 and #73667 and propagate them to `BTreeSet`. | ||||
| 2020-11-24 | Rollup merge of #79354 - ssomers:btree_bereave_BoxedNode, r=Mark-Simulacrum | Jonas Schievink | -38/+12 | |
| BTreeMap: cut out the ceremony around BoxedNode The opposite direction of #79093. r? ``@Mark-Simulacrum`` | ||||
| 2020-11-23 | BTreeMap/BTreeSet: make public doc more consistent | Stein Somers | -4/+6 | |
| 2020-11-23 | BTreeMap: cut out the ceremony around BoxedNode | Stein Somers | -38/+12 | |
| 2020-11-23 | doc typo | oliver | -2/+2 | |
| plus a small edit for clarity | ||||
| 2020-11-22 | Rollup merge of #79297 - ssomers:btree_post_redux, r=Mark-Simulacrum | Mara Bos | -14/+14 | |
| BTreeMap: swap the names of NodeRef::new and Root::new_leaf #78104 preserved the name of Root::new_leaf to minimize changes, but the resulting names are confusing. r? `@Mark-Simulacrum` | ||||
| 2020-11-22 | Rollup merge of #79295 - ssomers:btree_fix_78903, r=Mark-Simulacrum | Mara Bos | -16/+15 | |
| BTreeMap: fix minor testing mistakes in #78903 Mostly a duplicate test case r? `@Mark-Simulacrum` | ||||
| 2020-11-22 | Rollup merge of #79267 - ssomers:btree_namespaces, r=Mark-Simulacrum | Mara Bos | -35/+33 | |
| BTreeMap: address namespace conflicts Fix an annoyance popping up whenever synchronizing the test cases with a version capable of miri-track-raw-pointers. r? `@Mark-Simulacrum` | ||||
| 2020-11-22 | BTreeMap: swap the names of NodeRef::new and Root::new_leaf | Stein Somers | -14/+14 | |
| 2020-11-22 | BTreeMap: fix minor testing mistakes in #78903 | Stein Somers | -16/+15 | |
| 2020-11-21 | More consistently use spaces after commas in lists in docs | Carol (Nichols || Goulding) | -1/+1 | |
| 2020-11-21 | BTreeMap: address namespace conflicts | Stein Somers | -35/+33 | |
| 2020-11-18 | BTreeMap: reuse NodeRef as Root, keep BoxedNode for edges only, ban Unique | Stein Somers | -141/+132 | |
| 2020-11-16 | Rollup merge of #78903 - ssomers:btree_order_chaos_testing, r=Mark-Simulacrum | Mara Bos | -26/+201 | |
| BTreeMap: test chaotic ordering & other bits & bobs r? `@Mark-Simulacrum` | ||||
| 2020-11-16 | Auto merge of #78631 - ssomers:btree-alias_for_underfull, r=Mark-Simulacrum | bors | -203/+320 | |
| BTreeMap: fix pointer provenance rules in underfullness Continuing on #78480, and for readability, and possibly for performance: avoid aliasing when handling underfull nodes, and consolidate the code doing that. In particular: - Avoid the rather explicit aliasing for internal nodes in `remove_kv_tracking`. - Climb down to the root to handle underfull nodes using a reborrowed handle, rather than one copied with `ptr::read`, before resuming on the leaf level. - Integrate the code tracking leaf edge position into the functions performing changes, rather than bolting it on. r? `@Mark-Simulacrum` | ||||
| 2020-11-13 | Add BTreeMap::retain and BTreeSet::retain | Matt Brubeck | -0/+70 | |
| 2020-11-12 | BTreeMap: test chaotic ordering & other bits & bobs | Stein Somers | -26/+201 | |
| 2020-11-12 | BTreeMap: avoid aliasing while handling underfull nodes | Stein Somers | -203/+320 | |
| 2020-11-11 | Rollup merge of #78417 - ssomers:btree_chop_up_2, r=Mark-Simulacrum | Jonas Schievink | -114/+176 | |
| BTreeMap: split off most code of append To complete #78056, move the last single-purpose pieces of code out of map.rs into a separate module. Also, tweaked documentation and safeness - I doubt think this code would be safe if the iterators passed in wouldn't be as sorted as the method says they should be - and bounds on MergeIterInner. r? ```@Mark-Simulacrum``` | ||||
| 2020-11-09 | BTreeMap: fix pointer provenance rules, make borrowing explicit | Stein Somers | -247/+327 | |
| 2020-11-09 | Rollup merge of #78476 - RalfJung:btree-alias, r=Mark-Simulacrum | Dylan DPC | -4/+8 | |
| fix some incorrect aliasing in the BTree This line is wrong: ``` ptr::copy(slice.as_ptr().add(idx), slice.as_mut_ptr().add(idx + 1), slice.len() - idx); ``` When `slice.as_mut_ptr()` is called, that creates a mutable reference to the entire slice, which invalidates the raw pointer previously returned by `slice.as_ptr()`. (Miri currently misses this because raw pointers are not tracked properly.) Cc ````````@ssomers```````` | ||||
| 2020-11-09 | Rollup merge of #78437 - ssomers:btree_no_ord_at_node_level, r=Mark-Simulacrum | Dylan DPC | -41/+22 | |
| BTreeMap: stop mistaking node for an orderly place A second mistake in #77612 was to ignore the node module's rightful comment "this module doesn't care whether the entries are sorted". And there's a much simpler way to visit the keys in order, if you check this separately from a single pass checking everything. r? ````````@Mark-Simulacrum```````` | ||||
| 2020-11-08 | BTreeMap: split off most code of append, slightly improve interfaces | Stein Somers | -114/+176 | |
| 2020-11-07 | Rollup merge of #78538 - ssomers:btree_testing_rng, r=Mark-Simulacrum | Yuki Okushi | -0/+3 | |
| BTreeMap: document a curious assumption in test cases r? ```@Mark-Simulacrum``` | ||||
| 2020-10-30 | Constantify more BTreeMap and BTreeSet functions | BenoƮt du Garreau | -4/+22 | |
| - BTreeMap::len - BTreeMap::is_empty - BTreeSet::len - BTreeSet::is_empty | ||||
| 2020-10-29 | BTreeMap: document a curious assumption in test cases | Stein Somers | -0/+3 | |
| 2020-10-28 | fix some incorrect aliasing in the BTree | Ralf Jung | -4/+8 | |
| 2020-10-27 | BTreeMap: stop mistaking node for an orderly place | Stein Somers | -41/+22 | |
| 2020-10-27 | Auto merge of #78359 - ssomers:btree_cleanup_mem, r=Mark-Simulacrum | bors | -40/+42 | |
| BTreeMap: move generic support functions out of navigate.rs A preparatory step chipped off #78104, useful in general (if at all). r? `@Mark-Simulacrum` | ||||
| 2020-10-26 | Auto merge of #77187 - TimDiekmann:box-alloc, r=Amanieu | bors | -1/+1 | |
| Support custom allocators in `Box` r? `@Amanieu` This pull request requires a crater run. ### Prior work: - #71873 - #58457 - [`alloc-wg`](https://github.com/TimDiekmann/alloc-wg)-crate Currently blocked on: - ~#77118~ - ~https://github.com/rust-lang/chalk/issues/615 (#77515)~ | ||||
| 2020-10-26 | BTreeMap: move generic functions out of navigate.rs | Stein Somers | -40/+42 | |
| 2020-10-25 | Auto merge of #78015 - ssomers:btree_merge_mergers, r=Mark-Simulacrum | bors | -97/+111 | |
| btree: merge the implementations of MergeIter Also remove the gratuitous Copy bounds. Same benchmark performance. r? `@Mark-Simulacrum` | ||||
| 2020-10-25 | Merge remote-tracking branch 'upstream/master' into box-alloc | Tim Diekmann | -822/+873 | |
