RE: [PHP-DEV] Discussion: Remove file statcache?
| From: | Juris Evertovskis | Date: | Sat, 21 Dec 2024 20:18:22 +0000 |
| Subject: | RE: [PHP-DEV] Discussion: Remove file statcache? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-126158@lists.php.net to get a copy of this message | ||
While it is nice the Symfony and WordPress wouldn't suffer a lot from
dropping this cache, what's the impact on scripts that are processing
hundreds of files?
Would doing
$stat = stat($filename); instead of separate calls to
filemtime and filesize actually be important? Or would it still amount
to 1% performance difference on an SSD?
I mean, are there cases when this cache is still useful in 2025?