Module optimized_strings

Module optimized_strings 

Source
Expand description

Optimized string handling for DDEX Builder performance

This module provides string interning, Cow optimization, and memory-efficient string operations to reduce allocations and improve build performance.

Modules§

buffer_sizes
Memory size constants for planning

Structs§

BufferPool
Buffer pool for XML generation to reduce allocations
BuildContext
Build context that manages optimized strings and buffers
BuildStats
Statistics for string optimization
MemoryUsage
Memory usage statistics
OptimizedLocalizedString
Localized string with language code
StringInterner
String interner for repeated values during build process

Enums§

OptimizedString
Optimized string for DDEX data

Type Aliases§

CowString
Cow-optimized string for contexts where we may or may not own the data
FastString
High-performance string type for small strings