On Sunday, 25 July 2021 at 18:03:05 UTC, someone wrote:
pstrExchangeID = structureExchanges[r"NYSE"d].ID;
wellllll that's a compile time constant
structureExchanges[lstrExchangeID].location;
And that's a compile time constant.So you could just pass the data directly as a variable. So instead of looking up the exchanges[id], just pass the exchange.
AA's are good for runtime but if it is all compiled in you can just do static data.
i'll be back later gotta run