Expand description
§StringTape
Memory-efficient string storage compatible with Apache Arrow.
use stringtape::{StringTape32, StringTapeError};
let mut tape = StringTape32::new();
tape.push("hello")?;
tape.push("world")?;
assert_eq!(tape.len(), 2);
assert_eq!(&tape[0], "hello");
// Iterate over strings
for s in &tape {
println!("{}", s);
}Structs§
- Default
Allocator - Default allocator implementation using the global allocator.
- Global
Alloc Wrapper - Wrapper around any type that implements
GlobalAlloc. - String
Tape - A memory-efficient string storage structure compatible with Apache Arrow.
- String
Tape Iter
Enums§
- String
Tape Error - Errors that can occur when working with StringTape.
Traits§
- Allocator
- Trait for custom allocators used in StringTape.
- Offset
Type - Trait for offset types used in StringTape.