mbest / knockout

My enhancements to Knockout
35 stars 4 forks source link

cache the data-bind attributes #10

Closed mbest closed 12 years ago

mbest commented 12 years ago

Especially when something like 'foreach' is used, there will multiple instances of the same data-bind string, with just the context being different. Since each data-bind string results in the same compiled JavaScript code, it can be cached and used for subsequent bindings.

mbest commented 12 years ago

Commit eb201be