Module zerocopy

Module zerocopy 

Source
Expand description

Zero-copy parsing optimizations for YAML processing

This module provides data structures and utilities for minimizing allocations during YAML parsing by using string slices where possible instead of owned strings.

Structs§

ScannerStats
Statistics about scanner performance
TokenPool
Memory pool for token allocation to reduce heap allocations
ZeroScanner
Zero-copy string scanner that operates on slices
ZeroString
A zero-copy string that can either borrow from the input or own its data
ZeroToken
Zero-copy token with position information

Enums§

ZeroTokenType
Zero-copy token types that use string slices where possible