This PR disables the context variables introduced recently (#166, #169, and #170) by default. The introduction of context variables degraded the parsing performance for multiple orders of magnitudes because it adds and deletes properties during parsing. Although context variables are useful, I decided to disable context variables by default since binary-parser's primary goal is high parsing performance.
Users will need to call .useContextVars() on the parser object to enable context variables.
This PR disables the context variables introduced recently (#166, #169, and #170) by default. The introduction of context variables degraded the parsing performance for multiple orders of magnitudes because it adds and deletes properties during parsing. Although context variables are useful, I decided to disable context variables by default since binary-parser's primary goal is high parsing performance.
Users will need to call
.useContextVars()
on the parser object to enable context variables.Closes #173.