diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-19 23:45:38 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-19 23:45:38 +0900 |
| commit | 325c75b58c05e9ef8fed51c05609dfc2bfed112d (patch) | |
| tree | d96f79864ebf51a164da50c4dd0d062c3fd70a6b /crates/shirabe/src/plugin/pre_pool_create_event.rs | |
| parent | 95bb4d31909367597f71e8e0c90e008d25945dd3 (diff) | |
| download | php-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/pre_pool_create_event.rs')
0 files changed, 0 insertions, 0 deletions
