[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1051749: RFP: rust-compact-str -- A memory efficient string type that can store up to 24 bytes on the stack



Package: wnpp
Severity: wishlist
X-Debbugs-Cc: gagath@debian.org

* Package name    : rust-compact-str
  Version         : 0.7.1
  Upstream Contact: Parker Timmerman <parker@parkertimmerman.com>
* URL             : https://github.com/ParkMyCar/compact_str
* License         : MIT
  Programming Lang: Rust
  Description     : A memory efficient string type that can store up to 24 bytes on the stack

A CompactString is a more memory efficient string type, that can store
smaller strings on the stack, and transparently stores longer strings on
the heap (aka a small string optimization). It can mostly be used as a
drop in replacement for String and are particularly useful in parsing,
deserializing, or any other application where you may have smaller
strings.

This is a dependency needed for python-orjson [1].

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1002996


Reply to: