Closed mattcg closed 10 years ago
thanks for the PR, @mattcg!
This would break 0.8 support - is process.nextTick good enough for your use case?
I haven't tried with nextTick
. Can we use setImmediate
if available and fall back to nextTick
if it isn't?
Well, if nextTick works for your needs, I would just use that, if it doesn't, then I will need to consider wether or not I want to drop 0.8 support.
Confirmed working with process.nextTick
. I've amended the pull request.
Thanks, @mattcg. Sorry for the delay, could you squish your pr to a single commit to help keep the history neat?
thanks again!
To be honest, that's a bit of a hassle and it'd make sense to have the reason for not using setImmediate in the commit log.
fair enough. I'll add this manually and bump the version.
thanks a lot for the report!
pushed in 0.6.3.
thanks again @mattcg
Thank you :)
my pleasure :D
This fixes "Maximum call stack size exceeded errors" when compiling thousands of templates.