diff options
| author | Nikita Popov <nikic@php.net> | 2012-05-22 23:14:36 +0200 |
|---|---|---|
| committer | Nikita Popov <nikic@php.net> | 2012-05-22 23:17:59 +0200 |
| commit | 5e763d9420cbccbd8ee4f14a263b2439e6c5ae88 (patch) | |
| tree | 958dbb49d8094a6a3188ba0ef58a4dc92c76cf3c /Zend/zend_generators.h | |
| parent | 46fa26ab853b766c9222e49dbe7555de360b42f4 (diff) | |
| download | php-git-5e763d9420cbccbd8ee4f14a263b2439e6c5ae88.tar.gz | |
Allocate execute_data using malloc for generators
Generators need to switch the execute_data very often. If the execute_data
is allocated on the VM stack this operation would require to always copy
the structure (which is quite large). That's why the execution context is
allocated on the heap instead (only for generators obviously).
Diffstat (limited to 'Zend/zend_generators.h')
0 files changed, 0 insertions, 0 deletions
