Commit Graph

4 Commits

Author SHA1 Message Date
Karoy Lorentey
ff3cf98a2d [stdlib] ClosedRange.contains: Leave this force-inlined, not transparent
Making it transparent evidently induces new retain/release traffic in Array’s subscript, even though I can find no indication that `ClosedRange.contains` is ever called by that code path. Oh well.
2025-06-05 19:42:20 -07:00
Karoy Lorentey
487bacabc0 [stdlib] Delete transparent ~= overload; mark the regular one always-inlined instead
The new overload messes up diagnostics too much.
2025-06-04 17:02:54 -07:00
Karoy Lorentey
a6ae23d472 [test] Add rudimentary test for transparent bounds checking helpers 2025-06-04 17:02:53 -07:00
Karoy Lorentey
0826ac6067 [test] Verify that [Closed]Range.contains and Range.~= get inlined even in unoptimized builds 2025-06-04 17:02:52 -07:00