svnno****@sourc*****
svnno****@sourc*****
2008年 3月 6日 (木) 21:11:26 JST
Revision: 399 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=bbs2ch&view=rev&rev=399 Author: flyson Date: 2008-03-06 21:11:26 +0900 (Thu, 06 Mar 2008) Log Message: ----------- 取得済みログの書き込みを最適化 Modified Paths: -------------- branches/bbs2chreader/04_BRANCH/chrome/content/bbs2chreader/server/thread.js -------------- next part -------------- Modified: branches/bbs2chreader/04_BRANCH/chrome/content/bbs2chreader/server/thread.js =================================================================== --- branches/bbs2chreader/04_BRANCH/chrome/content/bbs2chreader/server/thread.js 2008-03-02 15:08:12 UTC (rev 398) +++ branches/bbs2chreader/04_BRANCH/chrome/content/bbs2chreader/server/thread.js 2008-03-06 12:11:26 UTC (rev 399) @@ -200,11 +200,9 @@ if(end > datLines.length) end = datLines.length; if(start > end) start = end; - var content = new Array(); for(var i=start-1; i<end; i++){ - content.push(this.datLineParse(datLines[i], i+1, false)); + this.write(this.datLineParse(datLines[i], i+1, false) +"\n"); } - this.write(content.join("\n")); this.write(this.converter.getFooter("log_pickup_mode")); this.close();