lantiga / ki

lisp + mori, sweet.js
ki-lang.org
MIT License
478 stars 28 forks source link

bind #5

Closed lantiga closed 10 years ago

lantiga commented 10 years ago

Explore alternatives to calling bind(this) in IIFN, e.g. in letv. Native bind has potential performance issues compared to using closures.

See StackOverflow discussion.

lantiga commented 10 years ago

Replaced bind with call. All tests pass, the test suite runs twice as fast.