Commit 6bc7f33
Append single char + space as one 2-byte call in _AppendRuns
Add a char-specific overload of _AppendRuns (more specialized than the
generic const T& overload by partial ordering) that flushes any pending
literal buffer, then appends the char value and its trailing space as a
single rs_code.append(pair, 2) call instead of two separate += operations.
Agent-Logs-Url: https://github.com/Cpp2Rust/cpp2rust/sessions/c9bd1adc-01f6-415e-a50c-9e8a4cb1e414
Co-authored-by: nunoplopes <2998477+nunoplopes@users.noreply.github.com>1 parent 26e56b6 commit 6bc7f33
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
364 | 376 | | |
365 | 377 | | |
366 | 378 | | |
| |||
0 commit comments