forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6d842be
committed
Provide fast path in snprintf.c for conversion specs that are just "%s".
This case occurs often enough (around 45% of conversion specs executedin our regression tests are just "%s") that it's worth an extra testper conversion spec to allow skipping all the logic associated withfield widths and padding when it happens.Discussion:https://postgr.es/m/26193.1538582367@sss.pgh.pa.us1 parentabd9ca3 commit6d842be
1 file changed
+13
-0
lines changedLines changed: 13 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
431 | 431 |
| |
432 | 432 |
| |
433 | 433 |
| |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
434 | 447 |
| |
435 | 448 |
| |
436 | 449 |
| |
|
0 commit comments
Comments
(0)