jiggzson / nerdamer

a symbolic math expression evaluator for javascript
http://www.nerdamer.com
MIT License
517 stars 82 forks source link

Disable call peekers #549

Closed Saikedo closed 4 years ago

Saikedo commented 4 years ago

Added a Settings.callPeekers variable that is set to false by default.

While Settings.callPeekers is set to false, the function this.callPeekers does not execute any code. This push is intended to fix slowdown issues that we had with submitting large number of arguments to nerdamer function such as nerdamer("mean(1000 elements...)").evaluate().text().