Repository navigation
Commit efa6d34
Return the union as it is when the other operand is a constant scalar it holds
union(U, x) rebuilt U's members whenever x was a constant scalar U already
held: every member was re-bucketed by its description and a new union was
assembled. ArrayType::setOffsetValueType() unions the key type with the
offset for every offset written, so a rule checking a write to an array
keyed by a union of a few hundred locale strings paid that once per
member of the offset type. The union is now handed back untouched when it
is a supertype of the scalar - the same members the general path produces.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GvDxWpzXzticTTm5eLCsb21 parent 2f472e5 commit efa6d34
1 file changed
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
240 | 249 | | |
241 | 250 | | |
242 | 251 | | |
| |||
292 | 301 | | |
293 | 302 | | |
294 | 303 | | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
295 | 315 | | |
296 | 316 | | |
297 | 317 | | |
| |||
0 commit comments