default-vec2

Crates.iodefault-vec2
lib.rsdefault-vec2
version0.1.3
created_at2024-12-14 23:02:06.38037+00
updated_at2024-12-15 19:33:39.66483+00
descriptionA simple `Vec`-like data structure with default elements and a bitset built using it
homepage
repository
max_upload_size
id1483496
size15,459
David Ewert (dewert99)

documentation

README

default-vec2

A simple Vec-like data structure with default elements and a bitset built using it.

It is #![no-std], and #![forbid(unsafe_code)], but does use alloc

Comparisons

vs default-vec

  • This crate does not use unsafe code or rely on the unstable RawVec type

vs bit-set

  • This BitSet fits in 2 usizes while bit-set takes 4.

vs fixedbitset

  • This BitSet fits in 2 usizes while fixedbitset takes 3.
  • This BitSet will automatically increase its capacity as need
  • This crate doesn't use any unsafe code
Commit count: 0

cargo fmt