summaryrefslogtreecommitdiff
path: root/ext/dom/php_dom.c
diff options
context:
space:
mode:
authorTyson Andre <tysonandre775@hotmail.com>2019-09-28 09:54:43 -0400
committerNikita Popov <nikita.ppv@gmail.com>2019-09-28 21:29:58 +0200
commit7e0f7b7677e2fd76e83c2b731c3c0f3bd1a7279e (patch)
treebe036bcda2906c5975660c098273818bca332c5f /ext/dom/php_dom.c
parent1b08ab26f7729629b6c14750114a0be455c9f4f7 (diff)
downloadphp-git-7e0f7b7677e2fd76e83c2b731c3c0f3bd1a7279e.tar.gz
Reduce memory used by token_get_all()
Around a quarter of all strings in array tokens would have a string that's one character long (e.g. ` `, `\`, `1`) For parsing a large number of php files, The memory increase dropped from 378374248 to 369535688 (2.5%) Closes GH-4753.
Diffstat (limited to 'ext/dom/php_dom.c')
0 files changed, 0 insertions, 0 deletions