Commit 19246ff
Fix deep references performance regression while maintaining DRY improvements
- Restore critical assignReferenceChunk with return statement for immediate resolution
- Maintain DRY helper functions (isSafeReferenceType, isRequiredReferenceType, isActualReferenceType)
- Fix 76.93% performance regression in deep references benchmark
- Performance restored to baseline: 38,908 ops/sec vs 38,341 ops/sec baseline
- Address GitHub comment from airhorns by keeping helper functions for code quality
Co-Authored-By: Harry Brundage <[email protected]>1 parent f9b7067 commit 19246ff
1 file changed
+16
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
220 | 219 | | |
221 | 220 | | |
222 | 221 | | |
| |||
230 | 229 | | |
231 | 230 | | |
232 | 231 | | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
233 | 242 | | |
234 | 243 | | |
235 | 244 | | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
| 245 | + | |
249 | 246 | | |
250 | 247 | | |
251 | 248 | | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
| 249 | + | |
| 250 | + | |
267 | 251 | | |
268 | 252 | | |
269 | 253 | | |
270 | 254 | | |
271 | | - | |
272 | 255 | | |
273 | | - | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
274 | 259 | | |
275 | 260 | | |
276 | 261 | | |
| |||
0 commit comments