Quantcast

Use OvalePool to reduce memory usage in OvaleCompile.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2013-03-16 08:03:32
Author local date 2013-03-16 08:03:32 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2013-03-16 08:03:32
Committer local date 2013-03-16 08:03:32 +0000
Commit d530b45fad11111a2eb14210cff5a0579c4fb18b
Tree dd37fc82ecb112a2888c9aab0904d06aacfadcc6
Parent 561c81ce21b470dbed6ef52138fee8ec2975bc87
Use OvalePool to reduce memory usage in OvaleCompile.

Create a pool of nodes that are used (and reused) by the parser when
creating the abstract syntax tree for the script.  This bounds the memory
used by OvaleCompile instead of letting the garbage collector reclaim
unused memory.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@776 d5049fe3-3747-40f7-a4b5-f36d6801af5f