slimvec 0.2.3

Dynamic array with a smaller inline-size
Documentation
  • Coverage
  • 66.67%
    8 out of 12 items documented1 out of 1 items with examples
  • Size
  • Source code size: 99.22 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 10.73 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 14s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • ickk/slimvec
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ickk

slimvec

github

SlimVec is analogous to the Standard Library's Vec collection type, however it has a smaller inline-size.

  SlimVec<T>            Allocation
+-------------+       +-------------+
| ptr: 0xabcd | ----> | length:   2 |
+-------------+       |-------------|
                      | capacity: 4 |
                      |=============|
                      | 0:        A |
                      |-------------|
                      | 1:        B |
                      |-------------|
                      | 2: <uninit> |
                      |-------------|
                      | 3: <uninit> |
                      +-------------+

Licensing

This library may be licensed under any of the following Zlib-License, MIT-License, or Apache2-License at your option.