mbest/knockout — Issue #10: cache the data-bind attributes
Author: mbest
Created: 2011-12-23 00:28:14+00:00
State: open

Especially when something link '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.