Commit a7052a2
committed
Merge pull request godotengine#101033 from Ivorforce/string-count-avoid-copy
Optimize `_count` by replacing a full copy with a CoW copy for the full-string count case.1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3707 | 3707 | | |
3708 | 3708 | | |
3709 | 3709 | | |
3710 | | - | |
3711 | | - | |
| 3710 | + | |
3712 | 3711 | | |
3713 | 3712 | | |
3714 | 3713 | | |
| |||
3744 | 3743 | | |
3745 | 3744 | | |
3746 | 3745 | | |
3747 | | - | |
3748 | | - | |
| 3746 | + | |
3749 | 3747 | | |
3750 | 3748 | | |
3751 | 3749 | | |
| |||
0 commit comments