Hacker News new | past | comments | ask | show | jobs | submit login

Like function templating using the Function constructor, try-catch wrapping, closure avoidance and many more. The source is a goldmine of JS optimization techniques (some V8-specific, some not so much)



This sounds very interesting even to those of us who don't need a promises library. If you or anyone else would like to go into detail, I bet a lot of people here would care (including me).


I'll second that. Might be appropriate for a series of blog posts, even.


Thanks for your interest - the optimization guide is planned to go over everything I have done.


esailija is the author, and I believe he mentioned that he is planning to write an optimization guide (specific to the library, though it will probably contain generally useful info).


I would definitely love to read up more on how and why things are optimized the way the are.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: