#byte-buffer #array #byte-array #read-write #async

no-std fastbuf

fast byte buffer with no async support

24 breaking releases

0.25.0 Aug 18, 2024
0.23.0 Aug 15, 2024

#35 in #byte-buffer

43 downloads per month

MIT license

11KB
256 lines

benchmark                                    fastest       │ slowest       │ median        │ mean          │ samples │ iters
├─ read_array_with_fast_collection_cursor    25.35 ns      │ 209.1 ns      │ 25.47 ns      │ 27.95 ns      │ 10001000000
├─ read_array_with_fastbuf_buffer            15.68 ns      │ 54.3 ns       │ 18.49 ns      │ 19.83 ns      │ 10001000000
├─ write_array_with_fast_collections_cursor  11.51 ns      │ 45.14 ns      │ 14.35 ns      │ 14.57 ns      │ 10001000000
╰─ write_array_with_fastbuf_buffer           9.391 ns      │ 31.3 ns       │ 11.1 ns       │ 10.69 ns      │ 10001000000

Dependencies

~30KB