sproutcore/sproutcore20 — pull request #193 by robmonie (2011-10-31 11:40:06+00:00)
Title: Removed calls to sc_assert from SC.get, SC.set and SC.meta

We were getting a lot of long running script warnings in IE due largely to the very large number of calls to sc_assert throughout the framework. 500K or more calls to sc_assert was not uncommon in our application for a single event loop which is clearly too many times given that IE throws up the long running script warnings based on the number of operations rather than time spent.

We were able to dramatically reduce the number of times this function is called by removing it from SC.get, SC.set and SC.meta where it feels like it has limited value for ordinary usage of the framework. There are many other places were sc_assert is quite useful but it'd be great to see it removed from these functions considering it's impact on IE.