Releases: Robbepop/string-interner
Releases · Robbepop/string-interner
v0.15.0 - 2024/02/07
v0.14.0 - 2021/10/27
Added
- Added the new
BufferBackend
string interner backend.- This backend focuses on minimum memory consumption and allocations
at the costs of decreased symbol resolution performance. - Use this when memory consumption is your main concern.
- This backend focuses on minimum memory consumption and allocations
- Added example of how to use a different string interner backend or symbol.
- Added library docs comparing all the different string interner backends.
Changed
- The
string_interner
crate now uses the Rust 2021 edition. - The
DefaultBackend
now is theStringBackend
and no longer theBucketBackend
. - The generic
S
symbol parameter of all string interner backends
now defaults to theDefaultSymbol
. - The
Backend
trait is no longer generic over a symbolS
but instead
has aSymbol
associated type now. - The
StringInterner
no longer has a genericS
symbol parameter and
now instead uses theSymbol
associated type from its used backendB
.
Dev. Note
- The
memory_consumption
tests now shrink the string interners before querying
their memory consumption. This yields more stable numbers than before. - The
memory_consumption
test now also tests the total amount of allocations
and deallocations made by the string interner backends. - Add
README
section about benchmarking the crate.
v0.13.0 - 2021/08/25
-
Update
hashbrown
dependency from version0.9
to version0.11
. -
Add
shrink_to_fit
method toStringInterner
via backend. (#36) -
Add support more than 4G of interned strings with
StringBackend
. (#37) -
Remove
S: Symbol
trait bound from interner backends. -
Remove
S: Symbol
trait bound fromClone impl
forStringBackend
. -
Reworked the memory and allocation tests
- Run them via
cargo test -- --test-threads 1
- Run them via
-
CI now tests the whole build for windows, linux (ubuntu) and macos.
-
Add
cargo-audit
andcargo-outdated
checks to CI pipeline. -
Remove no longer needed
jemalloc
dev-dependency
.
v0.12.2 - 2021/01/11
v0.12.1 - 2020/11/14
- The
BucketBackend
now implementsSend
+Sync
. - Implemented some minor internal improvements.
- Update dependencies:
hashbrown 0.8
->0.9
cfg-if 0.1
->1.0