tsrm question
| From: | Rob Landers | Date: | Wed, 24 Jul 2024 08:13:39 +0000 |
| Subject: | tsrm question | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-124565@lists.php.net to get a copy of this message | ||
Hello internals,
Last night I went down a rabbit hole with Frankenphp: https://github.com/dunglas/frankenphp/pull/933
It isn't 100% clear to me what values
ts_resource(id) holds and if it needs to be
freed/allocated per request or per thread. The performance impact is huge to reallocate on every
request (mostly due to the global mutex during allocation). Is anyone familiar with this and could
help reviewing the changes there?
— Rob