svnno****@sourc*****
svnno****@sourc*****
2010年 12月 11日 (土) 23:37:59 JST
Revision: 2218 http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2218 Author: dhrname Date: 2010-12-11 23:37:59 +0900 (Sat, 11 Dec 2010) Log Message: ----------- シェイプ関連要素に限り、キャッシュを消すようにして、メモリを節約 Modified Paths: -------------- branches/06x/066/org/w3c/dom/svg.js Modified: branches/06x/066/org/w3c/dom/svg.js =================================================================== --- branches/06x/066/org/w3c/dom/svg.js 2010-12-10 14:56:08 UTC (rev 2217) +++ branches/06x/066/org/w3c/dom/svg.js 2010-12-11 14:37:59 UTC (rev 2218) @@ -2672,6 +2672,7 @@ tar._tar.path = dat.join(" "); tar._tar.coordsize = w + " " + h; NAIBU._setPaint(tar, matrix); + delete tar._cacheMatrix, tar._currentStyle; evt = tar = dat = w = h = matrix = tlist = x = y = _parseInt = ma = mb = mc = md = me = mf = vi = isZ = isM = isL = isC = null; }, false); evt = tar = null; @@ -3033,6 +3034,7 @@ ele.path = dat; ele.coordsize = w + " " + h; NAIBU._setPaint(tar, ctm); + delete tar._cacheMatrix, tar._currentStyle; evt = tar = list = dat = ele = vi = null; }, false); evt = tar = null; @@ -3108,6 +3110,7 @@ ele.path = dat; ele.coordsize = w + " " + h; NAIBU._setPaint(tar, ctm); + delete tar._cacheMatrix, tar._currentStyle; evt = tar = list = dat = ele = null; }, false); evt = tar = null; @@ -3184,6 +3187,7 @@ ele.path = dat; ele.coordsize = w + " " + h; NAIBU._setPaint(tar, ctm); + delete tar._cacheMatrix, tar._currentStyle; evt = ele = tar = dat = list = ctm = w = h = null; }, false); evt = tar = null; @@ -3257,7 +3261,8 @@ ele.path = dat; ele.coordsize = w + " " + h; NAIBU._setPaint(tar, ctm); - evt = ele = tar = dat = list = ctm = w = h = null; + delete tar._cacheMatrix, tar._currentStyle; + evt = ele = tar = dat = list = ctm = w = h = null; }, false); evt = tar = null; }, false); @@ -3338,6 +3343,7 @@ ele.path = dat; ele.coordsize = w + " " + h; NAIBU._setPaint(tar, ctm); + delete tar._cacheMatrix, tar._currentStyle; evt = ele = tar = dat = list = ctm = w = h = null; }, false); evt = tar = null; @@ -3419,6 +3425,7 @@ ele.path = dat; ele.coordsize = w + " " + h; NAIBU._setPaint(tar, ctm); + delete tar._cacheMatrix, tar._currentStyle; evt = ele = tar = dat = list = ctm = w = h = null; }, false); evt = tar = null; @@ -3868,6 +3875,7 @@ backr.filled = "false"; ttp.appendChild(backr); } + delete tar._cacheMatrix, tar._currentStyle; isRect = evt = tar = style = null; }, false); evt = tar = null;