Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/tokio-rs/slab
Slab allocator for Rust
https://github.com/tokio-rs/slab
Bump version to v0.1.3
f363bf8de91da38ff9065c21c3480bb3e3313903 authored about 9 years ago by Carl Lerche <[email protected]>
f363bf8de91da38ff9065c21c3480bb3e3313903 authored about 9 years ago by Carl Lerche <[email protected]>
Merge pull request #13 from dpc/master
Introduce `clear()` and `grow()`.
8d9b7b4a31e5bb494286bf067febd68b3466a210 authored about 9 years ago by Dawid Ciężarkiewicz <[email protected]>
Merge pull request #12 from dpc/fix_iter
Fix iterators when used on with offseted Slabs.
f42733279863d0d5768d801d95f0ad85adae47c0 authored about 9 years ago by Dawid Ciężarkiewicz <[email protected]>
Introduce: `clear()` and `grow()`.
ea1b764184ad17c59497d11b163cdae0a2ee47d2 authored about 9 years ago by Dawid Ciężarkiewicz <[email protected]>
ea1b764184ad17c59497d11b163cdae0a2ee47d2 authored about 9 years ago by Dawid Ciężarkiewicz <[email protected]>
Fix failing tests.
b31c00cfa3a946412341b59d52c3a7a81e0ac2ff authored about 9 years ago by Dawid Ciężarkiewicz <[email protected]>
b31c00cfa3a946412341b59d52c3a7a81e0ac2ff authored about 9 years ago by Dawid Ciężarkiewicz <[email protected]>
Add failing tests for iters with offset.
a94297a9ef16841ae5b3fb7e6d8d93df3fc766a1 authored about 9 years ago by Dawid Ciężarkiewicz <[email protected]>
a94297a9ef16841ae5b3fb7e6d8d93df3fc766a1 authored about 9 years ago by Dawid Ciężarkiewicz <[email protected]>
Back slab with a Vector
- uses a vector instead of a boxed slice
- remove Entry implementation. slab now uses the Entry ...
Add retain method to slab
Inspired by Vec::retain(), this method will remove all elements `e` such
that `f(&e)` return fal...
Remove unnecessary casts
0756d7016d40163b2a5029ba144e4989147b36ba authored over 9 years ago by Nandor Kracser <[email protected]>
0756d7016d40163b2a5029ba144e4989147b36ba authored over 9 years ago by Nandor Kracser <[email protected]>
Bump version to v0.1.2
4ae10acf269c7451616030f6d8a76a3d50cba6f4 authored over 9 years ago by Carl Lerche <[email protected]>
4ae10acf269c7451616030f6d8a76a3d50cba6f4 authored over 9 years ago by Carl Lerche <[email protected]>
Implement replace_with method
The method allows to consume item by value and (optionally) return a
value to put into the place...
Using a boxed slice rather than enforcing an ungrowable Vec
Initializing all Entries during Slab creation.
c4c125d1360f3314f5a7ba93077745ae82c27cdf authored over 9 years ago by Yazad Daruvala <[email protected]>
Use the type system to ensure Entry's invariants
173dba1b9f6d1550d308fb8095a408bcc1351025 authored over 9 years ago by Yazad Daruvala <[email protected]>
173dba1b9f6d1550d308fb8095a408bcc1351025 authored over 9 years ago by Yazad Daruvala <[email protected]>
Removing redundant check, because: idx < self.entries.len() <= MAX
1dae636727b75f48bcda885b7495937caba67427 authored over 9 years ago by Yazad Daruvala <[email protected]>
1dae636727b75f48bcda885b7495937caba67427 authored over 9 years ago by Yazad Daruvala <[email protected]>
Bug Fix: Don't panic on remove when idx == entries.len()
5c08e061252ef46efac9f2d92d4b7740eaefc0d8 authored over 9 years ago by Yazad Daruvala <[email protected]>
5c08e061252ef46efac9f2d92d4b7740eaefc0d8 authored over 9 years ago by Yazad Daruvala <[email protected]>
Bump version to v0.1.1
cb2a8be312840e521f47570349b8c36be46244e3 authored over 9 years ago by Carl Lerche <[email protected]>
cb2a8be312840e521f47570349b8c36be46244e3 authored over 9 years ago by Carl Lerche <[email protected]>
Don't panic on index underflow
Fixes #1
d76e60e49ead5390bf8225c2fa27dd069f75aefd authored over 9 years ago by Carl Lerche <[email protected]>
Build docs on travis
f54a906b3b013f8ed8245dc3b195e8872d8d3a4a authored over 9 years ago by Carl Lerche <[email protected]>
f54a906b3b013f8ed8245dc3b195e8872d8d3a4a authored over 9 years ago by Carl Lerche <[email protected]>
Use travis for CI
8d88f0ac001d4c302f1a59c947619f441945ced2 authored over 9 years ago by Carl Lerche <[email protected]>
8d88f0ac001d4c302f1a59c947619f441945ced2 authored over 9 years ago by Carl Lerche <[email protected]>
Initial commit
ac96f1a8ab99af4e1a2b3eea0ce86371806da78e authored over 9 years ago by Carl Lerche <[email protected]>
ac96f1a8ab99af4e1a2b3eea0ce86371806da78e authored over 9 years ago by Carl Lerche <[email protected]>