HotXLS Docs

Classic Pivot line output

Version 2.384.410 adds the standard position and line-wire corrections below; the earlier memory and exact-byte observations retain their historical source domains and do not qualify the new wire or native Classic rendering

Bounded logical-line preparation

Version 2.384.371 removes complete Cartesian-combination and expanded-line arrays from generated Classic Pivot line output preparation

The encoder keeps detached axis cardinalities and bounded mixed-radix metadata, then derives tuple values, measure identities, grand-total markers and record-local prefix compression as each physical record is prepared

The historical version371 profile retained its 16384 ordinary-combination cap and prior data-axis/framing behavior; the later standard-wire increment below has its own complete-product admission and source qualification

Each physical record starts with an uncompressed tuple, including records that start inside a repeated measure block, and empty axes or zero-item sources retain their existing stubs

This changes serialization preparation; source caches, aggregation, query evaluation, stored result cells and retained raw Pivot transports keep their existing contracts

Actual whole-save memory observations

The controlled 4096-row candidate comparison reduces additional Pascal save heap from 1076400 to 129488 bytes, while the largest tracked request falls from 262176 to 65552 bytes

The final integrated release records 129456 additional bytes for the 4096-row case and 129136 for the 16-row case, leaving a 320-byte growth residual under the fixed integration envelope

Both workloads have two row fields and two measures on the row data axis, with source cells and cache models authored before memory observation starts

These measurements cover public SaveAs above the already resident model through the tracked Pascal allocation paths; they exclude source retention, native allocations and a total process or RSS guarantee

Direct line-encoder retention depends on axis metadata and one physical-record payload; whole-save memory also includes the other existing writers and output stages

Output and count boundaries

Seven positive profile pairs preserve every complete named CFB stream byte-for-byte, including empty axes, a one-field row axis, a two-field column axis, zero-item sources and a supported retry after refusal

Independent decoding checks actual tuple values, measure replication, grand totals, physical body limits and fresh record-local prefixes

The historical count and width checks prevented narrowing and multiplication wrap without changing the then-existing cap; the later standard-wire profile below uses its separately stated complete-product limits

A demonstrated six-field, 64-row source previously wrapped its combination product to zero and emitted only two grand rows; that unqualified projection now raises the recorded range error, preserves an existing destination file and permits a healthy retry after the caller selects a supported axis domain

The wrapped output is a failure counterexample and is not presented as valid native Pivot qualification

Generated view metadata bounds separately validate ordinary text lengths before any view record is appended

Qualification scope

The final full-source Win64 Delphi 37 qualification uses one cold build and two guarded same-source reuses for 84 public assertions

The independent observers read all actual output bytes and complete logical streams; no new native application execution or new Pivot schema is claimed

Other compilers, platforms, whole-workbook source memory, arbitrary raw families, drawing groups and remaining wide source/copy chains retain their separate qualifications

See compound storage for the existing stream staging, physical raw replay and remaining wide-field boundaries

Standard virtual data-axis position and line arrays

The generated view now carries explicit or default data-axis position through its declared axis dimensions, the virtual -2 entry, complete mixed-radix line coordinates and synthetic measure index, including represented middle slots

Standard eight-byte line headers, full coordinate arrays, real line counts, empty-axis records and logical continuation arrays replace the older private framing; repeated source output retains legal empty records and source-qualified replacement handles continued bodies

The corrected generator refuses an unrepresentable full product before output instead of silently applying the historical 16384-combination truncation; the existing source model and whole-save memory observations remain separate from these new count and wire checks

The 181 Classic public controls are included in the combined focused total, with 36055 independent complete CFB source-cache and line-wire checks; no new native Classic rendering or custom per-measure grand-caption mapping is claimed

See the shared model and format boundaries