pub fn prewarm()Expand description
Intern the hot nixpkgs/flake/stdenv symbol set so they get low
Symbol indices and the thread-local hashmap pays its first few
resizes upfront instead of on the eval hot path.
Call this once per thread before the first eval. Idempotent — re-running is cheap because every symbol is a hashmap hit after the first pass.
The curated list covers the identifiers that dominate nixpkgs
attribute access: derivation fields (name, src, buildInputs
…), module-system glue (config, options, mkOption, mkIf
…), flake schema (inputs, outputs, description …), meta
(meta, platforms, license …), and the empty string used by
string context machinery.