aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/plugin/php_plugin_proxy.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-08-19 23:45:38 +0900
committernsfisis <nsfisis@gmail.com>2026-08-19 23:45:38 +0900
commit325c75b58c05e9ef8fed51c05609dfc2bfed112d (patch)
treed96f79864ebf51a164da50c4dd0d062c3fd70a6b /crates/shirabe/src/plugin/php_plugin_proxy.rs
parent95bb4d31909367597f71e8e0c90e008d25945dd3 (diff)
downloadphp-shirabe-325c75b58c05e9ef8fed51c05609dfc2bfed112d.tar.gz
php-shirabe-325c75b58c05e9ef8fed51c05609dfc2bfed112d.tar.zst
php-shirabe-325c75b58c05e9ef8fed51c05609dfc2bfed112d.zip
perf(semver): memoize MultiConstraint's string form
composer/semver memoizes MultiConstraint::__toString() into $this->string, but the port recomputed it on every call. On `require laravel/laravel` that meant 837k stringifications visiting 1.7M child constraints, all of them feeding the CompilingMatcher and Intervals cache keys. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/plugin/php_plugin_proxy.rs')
0 files changed, 0 insertions, 0 deletions