rfc:gc_fn_pointer
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
rfc:gc_fn_pointer [2014/12/03 22:32] – created beberlei | rfc:gc_fn_pointer [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Turn gc_collect_cycles into function pointer ====== | ====== Turn gc_collect_cycles into function pointer ====== | ||
- | * Version: 1.0 | + | * Version: 1.2 |
- | * Date: 2014-12-04 | + | * Date: 2015-01-07 |
- | * Author: Benjamin Eberlei, | + | * Author: Benjamin Eberlei |
- | * Status: | + | * Status: |
===== Introduction ===== | ===== Introduction ===== | ||
Line 25: | Line 25: | ||
A default implementation '' | A default implementation '' | ||
+ | |||
+ | Adam tested the performance of this change and there was no measurable overhead: | ||
+ | |||
+ | https:// | ||
+ | |||
+ | ==== Relation to possible 7.0 extension API refactoring ==== | ||
+ | |||
+ | On the mailinglist a discussion began weather this change should be part of | ||
+ | a grand refactoring of hooks and extension API. | ||
+ | |||
+ | Making this change part of a grand refactoring will never lead to the inclusion | ||
+ | since as of now, we know of nobody planning on working on the extension API for 7.0. | ||
+ | |||
+ | The RFC proposes to include the change AS-IS and then be part of a refactoring in the future, should one happen. | ||
===== Backward Incompatible Changes ===== | ===== Backward Incompatible Changes ===== | ||
- | This changes the signature of '' | + | No changes to userland. |
+ | |||
+ | This changes the signature of '' | ||
===== Proposed PHP Version(s) ===== | ===== Proposed PHP Version(s) ===== | ||
- | PHP 7.0 | + | - PHP 7.0 |
===== RFC Impact ===== | ===== RFC Impact ===== | ||
Line 54: | Line 70: | ||
===== References ===== | ===== References ===== | ||
Initial discussion on hooking into Garbage Collection: https:// | Initial discussion on hooking into Garbage Collection: https:// | ||
+ | |||
+ | |||
+ | ===== Vote ===== | ||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
+ | |||
+ | Voting started: 2015-01-07 19:31 UTC | ||
+ | Voting ended: 2015-01-21 19:31 UTC (14 days) | ||
rfc/gc_fn_pointer.1417645922.txt.gz · Last modified: 2017/09/22 13:28 (external edit)