result_convertor._HeaderContainer

Container for headers to improve memory usage.

Unique headers are stored as keys in _header_cache and references to them are stored in _headers. This way we avoid storing the same header multiple times, reducing memory allocations, which is important for large datatables with many attributes.

Properties

None

Methods

NameDescription
append ()Add header to the container.
extend ()Add multiple headers to the container.