Commit b207111
committed
Unicdode: Force-inline isgraphemebreak!
When this API was added, this function inlined, which is important,
because the API relies on the allocation of the `Ref` being elided.
At some point (I went back to 1.8) this regressed. For example, it
is currently responsible for substantially all non-Expr allocations
in JuliaParser. Before (parsing all of Base with JuliaParser):
```
│ Memory estimate: 76.93 MiB, allocs estimate: 719922.
```
After:
```
│ Memory estimate: 53.31 MiB, allocs estimate: 156.
```
Also add a test to make sure this doesn't regress again.1 parent d6b3669 commit b207111
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
800 | 800 | | |
801 | 801 | | |
802 | 802 | | |
803 | | - | |
| 803 | + | |
804 | 804 | | |
805 | 805 | | |
806 | 806 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| 287 | + | |
| 288 | + | |
287 | 289 | | |
288 | 290 | | |
289 | 291 | | |
| |||
0 commit comments