人気サイトと話題のニュースランキング - パストラック (Pathtraq) にて、キーワードリンクをつけたりしたよ。
I'm trying to use Rose::DB::Object.
Thinking good point of this module.
- Very fast (compared by DBIC)
- Easy
But I'd read source code and be afraid.
- Long long source by sub routine (Rose::DB::Object::Manager#get_objects())
- Not pluggable
Mmm...
JScript engine has CollectGarbage() method in Global Object.
The method forces to do garbage collect.
Sample code:
for (var i = 0; i < 1000; i++) {
(function() {
var arr = [];
for (var j = 0; j < 10000; j++)
arr.push(j);
WScript.StdOut.Write(".");
WScript.Sleep(1000);
})();
this.CollectGarbage(); // important point
WScript.Sleep(2000);
}
Run this script by cscript.exe.