Homec4science

Provide dispose() method for XHPASTTree.

Authored by epriestley <git@epriestley.com> on May 1 2011, 20:31.

Description

Provide dispose() method for XHPASTTree.

Summary:
PHP's "GC" doesn't do cycle detection so you can't get currently rid of these.
This creates a lot of memory pressure in Diviner (and maybe lint).

Test Plan:
Updated Diviner to use this method and have a reasonable peak memory use.

Reviewed By: jungejason
Reviewers: aran, jungejason, tuomaspelkonen
CC: aran, jungejason
Differential Revision: 205

Details

Committed
epriestley <git@epriestley.com>May 2 2011, 10:32
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU4ac90caa29a4: libphutil support for Pygments
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHUd79c4b5c855d: Provide dispose() method for XHPASTTree. (authored by epriestley <git@epriestley.com>).May 2 2011, 10:32