igor%mir2.org abea7cfb18 As Christopher Oliver <coliver@mminternet.com> pointed out, in many execution paths calls to Scriptable.put follows corresponding Scriptable.has with the same name/id, and although the put method implementations in ScriptableObject and IdScriptable use cache for a previously accessed name to avoid expensive name lookups, the corresponding has implementation do use the cache.
These changes add the cache optimization to the has methods and remove cache update from the put methods under the assumption that newly assigned properties would not be used immediately.


git-svn-id: svn://10.0.0.236/trunk@118797 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 21:59:45 +00:00
..