[webkit-reviews] review requested: [Bug 79125] CachedScriptSourceProvider::getRange can unnecessarily make a full copy of the source : [Attachment 128219] More

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 22 08:27:00 PST 2012


Yong Li <yong.li.webkit at gmail.com> has asked  for review:
Bug 79125: CachedScriptSourceProvider::getRange can unnecessarily make a full
copy of the source
https://bugs.webkit.org/show_bug.cgi?id=79125

Attachment 128219: More
https://bugs.webkit.org/attachment.cgi?id=128219&action=review

------- Additional Comments from Yong Li <yong.li.webkit at gmail.com>
Prevent CachedScript from resetting m_script when its string buffer is still
referenced by others because doing so won't save any memory but cause extra
memory usage if scritp() is called on the CachedScript afterwards.


More information about the webkit-reviews mailing list