- Notifications
You must be signed in to change notification settings - Fork28
Commit1fbb6c9
committed
Fix platform-specific performance regression in logtape.c.
Commit24d8595 made a change that indirectly caused a performanceregression by triggering a change in the way GCC optimizes memcpy() onsome platforms.The behavior seemed to contradict a GCC document, so I filed a report:https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95556This patch implements a narrow workaround which eliminates theregression I observed. The workaround is benign enough that it seemsunlikely to cause a different regression on another platform.Discussion:https://postgr.es/m/99b2eab335c1592c925d8143979c8e9e81e1575f.camel@j-davis.com1 parentaa79276 commit1fbb6c9
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
782 | 782 |
| |
783 | 783 |
| |
784 | 784 |
| |
785 |
| - | |
| 785 | + | |
786 | 786 |
| |
787 | 787 |
| |
788 | 788 |
| |
|
0 commit comments
Comments
(0)