gtopt/arrow_index_cache.hpp file

Shared, scene/phase-invariant Arrow input-index cache.

Holds the (cname, fname, uid) -> (Stage, Block) Arrow row indices built by the long-direct input reader. These indices depend only on the input tables, never on the (scene, phase) cell, so they are built once and shared across every per-cell SystemLP build instead of being rebuilt (and the parquet re-read) per InputContext — that per-cell rebuild was the long-direct-input LP-build blow-up (see get_arrow_index).

The cache is owned by SimulationLP behind a forward declaration (pimpl) so simulation_lp.hpp need not include uid_traits.hpp, which would form the include cycle simulation_lp.hpp -> uid_traits.hpp -> uididx_traits.hpp -> simulation_lp.hpp. Concurrent access from the parallel per-cell builds is serialised by SimulationLP::array_index_mutex().

Namespaces

namespace gtopt

Classes

struct gtopt::ArrowIndexCache