[Sie-announce] SIEコード [1143] 最適化

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 5月 7日 (木) 23:11:44 JST


Revision: 1143
          http://svn.sourceforge.jp/view?root=sie&view=rev&rev=1143
Author:   dhrname
Date:     2009-05-07 23:11:44 +0900 (Thu, 07 May 2009)

Log Message:
-----------
最適化

Modified Paths:
--------------
    branches/04x/047/sie.js

Modified: branches/04x/047/sie.js
===================================================================
--- branches/04x/047/sie.js	2009-05-07 14:01:55 UTC (rev 1142)
+++ branches/04x/047/sie.js	2009-05-07 14:11:44 UTC (rev 1143)
@@ -1729,6 +1729,7 @@
     ut = this._tani[tani];
   }
   this.newValueSpecifiedUnits(ut,v);
+  d = wort = f = v = tani = ut = null; //解放
   }  catch(e) {stlog.add(e,1133); this.value = 1000;}
   return this;
 }
@@ -1812,8 +1813,6 @@
       case "new":
         this.tar.setAttribute("target","_blank");
       break;
-      default:
-      break;
     }
     this.tar.setAttribute("href",uri);
   }
@@ -1920,6 +1919,7 @@
   var ob = document.createElement("v:group");
   var obst = ob.style;
   ob.innerHTML = dc;
+  data = dc = null;
   var obc = ob.getElementsByTagName("group").item(0);  //obcはSVGのルート要素
   var regaw = obc.getAttribute("svgwidth") || obwidth;
   var regah = obc.getAttribute("svgheight") || obheight;
@@ -1935,7 +1935,6 @@
   STdocument[dn].read(ob);
   STdocument[dn].set(ob);
   alert((new Date()).getTime() - dnd.getTime());
-  data = dc = null;
   if (NAIBU.STObject !== void 0) {NAIBU.STObject.next();}
 }
 }




Sie-announce メーリングリストの案内
Back to archive index