-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DList update #7944
DList update #7944
Commits on Jul 21, 2013
-
serialize: implement Encodable for DList
This impl was missing for unknown reason.
blake2-ppc committedJul 21, 2013 Configuration menu - View commit details
-
Copy full SHA for 60cb9c0 - Browse repository at this point
Copy the full SHA 60cb9c0View commit details -
dlist: Simplify match clauses to use Option methods
Make the core Deque implementation a bit simpler by using Option methods when we simply map on a Some value, and deduplicate some common lines.
blake2-ppc committedJul 21, 2013 Configuration menu - View commit details
-
Copy full SHA for 5336bdc - Browse repository at this point
Copy the full SHA 5336bdcView commit details -
dlist: Factor out pop and push operations by list node
Factor out internal methods for pop/push ~Node<T>, This allows moving nodes instead of destructuring and allocating new. Make use of this in .merge() so that it requires no allocations when merging two DList.
blake2-ppc committedJul 21, 2013 Configuration menu - View commit details
-
Copy full SHA for 78d0cf1 - Browse repository at this point
Copy the full SHA 78d0cf1View commit details -
dlist: Add .rotate_to_front(), .rotate_to_back()
Add methods to move back element to front or front element to back, without reallocating nodes.
blake2-ppc committedJul 21, 2013 Configuration menu - View commit details
-
Copy full SHA for b71c3d2 - Browse repository at this point
Copy the full SHA b71c3d2View commit details -
dlist: Add bench test for rotate_to_{front, back}
blake2-ppc committedJul 21, 2013 Configuration menu - View commit details
-
Copy full SHA for bfa9b43 - Browse repository at this point
Copy the full SHA bfa9b43View commit details -
dlist: Remove bench tests for vec
These tests for ~[] performance don't really belong here, they were for comparison.
blake2-ppc committedJul 21, 2013 Configuration menu - View commit details
-
Copy full SHA for b1a071e - Browse repository at this point
Copy the full SHA b1a071eView commit details -
dlist: Use Ord for .insert_ordered()
We don't need TotalOrd for ordered insertion, just the normal sort order Ord.
blake2-ppc committedJul 21, 2013 Configuration menu - View commit details
-
Copy full SHA for 21adfd5 - Browse repository at this point
Copy the full SHA 21adfd5View commit details -
dlist: Remove extraneous unwrap in .pop_back_node()
blake2-ppc committedJul 21, 2013 Configuration menu - View commit details
-
Copy full SHA for cf437a2 - Browse repository at this point
Copy the full SHA cf437a2View commit details
Commits on Jul 22, 2013
-
dlist: Fix .peek_next() w.r.t double ended iterators
.peek_next() needs to check the element counter just like the .next() and .next_back() iterators do. Also clarify .insert_next() doc w.r.t double ended iteration.
blake2-ppc committedJul 22, 2013 Configuration menu - View commit details
-
Copy full SHA for 52b4a2e - Browse repository at this point
Copy the full SHA 52b4a2eView commit details -
dlist: Rename rotate methods to .rotate_forward() and .rotate_backward()
blake2-ppc committedJul 22, 2013 5Configuration menu - View commit details
-
Copy full SHA for 6e24b75 - Browse repository at this point
Copy the full SHA 6e24b75View commit details