Repository navigation
Commit abc407c
Memoize ClassReflection::getName()
The hottest call on the class: 2.3M calls on a src/Type self-analysis,
each two adapter frames deep (Adapter\ReflectionClass::getName →
BetterReflection ReflectionClass::getName). Single-process src/Type
analysis: −1.3% user CPU, 6/6 alternating pairs, t=5.2.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SRLigetKoiZzYBe4iRQb3J1 parent 477db09 commit abc407c
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
174 | 181 | | |
175 | 182 | | |
176 | 183 | | |
| |||
275 | 282 | | |
276 | 283 | | |
277 | 284 | | |
278 | | - | |
| 285 | + | |
279 | 286 | | |
280 | 287 | | |
281 | 288 | | |
| |||
0 commit comments