You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Been using tamed.js for well over a year now. Just noticed one looping paradigm that fails and figured I'd mention it as caution for others who might end up scratching their heads:
The the loop is large enough and with enough cases are short circuited then the call stack can be exceeded. I've worked around this issue by reorganizing my code to make two passes. Definitely interested to hear about any other reorganizations that might work in this scenario.
The text was updated successfully, but these errors were encountered:
Been using tamed.js for well over a year now. Just noticed one looping paradigm that fails and figured I'd mention it as caution for others who might end up scratching their heads:
or similarly:
The the loop is large enough and with enough cases are short circuited then the call stack can be exceeded. I've worked around this issue by reorganizing my code to make two passes. Definitely interested to hear about any other reorganizations that might work in this scenario.
The text was updated successfully, but these errors were encountered: