SPI currently calls getenv() repeatedly during instrumentation instead of storing variables at start.
Additionally, getenv("X") should be replaced with getenv_bool("X"), defined as not (undefined v || v is "" || v is "0" || v is "false"). This checks for environment variable values instead of just definition, making configuration more user-friendly.
SPI currently calls
getenv()repeatedly during instrumentation instead of storing variables at start.Additionally,
getenv("X")should be replaced withgetenv_bool("X"), defined asnot (undefined v || v is "" || v is "0" || v is "false"). This checks for environment variable values instead of just definition, making configuration more user-friendly.