Closed jharley closed 7 months ago
Second, if you check length manually and then remove the counts from the regexp, it runs literally 1000x faster (7 nS instead of 7 uS!)
Whoa! Thank you for this: that's huge. Will refactor the shape of the function
Which problem is this PR solving?
We've now released Ingest Keys, but in order for them to work with Classic environments properly we need to update the key detection logic.
Short description of the changes
Config.isClassic
a public method (Config.IsClassic
) to allow other projects to use this method and reduce the duplication of logic (i.e. beeline-go)