summaryrefslogtreecommitdiff
path: root/include/bootexec.h
diff options
context:
space:
mode:
authorDmitriy Vyukov <dvyukov@google.com>2013-08-30 15:46:12 +0400
committerDmitriy Vyukov <dvyukov@google.com>2013-08-30 15:46:12 +0400
commit5c03c230954d1491c25b14690d2b6bb96452cfa1 (patch)
tree4d916a84cc854b172ce2088cd8968c13316d8568 /include/bootexec.h
parent564f6b8ad1baba0e954929e1f3ac0bc0735982c3 (diff)
downloadgo-5c03c230954d1491c25b14690d2b6bb96452cfa1.tar.gz
libbio, all cmd: consistently use BGETC/BPUTC instead of Bgetc/Bputc
Also introduce BGET2/4, BPUT2/4 as they are widely used. Slightly improve BGETC/BPUTC implementation. This gives ~5% CPU time improvement on go install -a -p1 std. Before: real user sys 0m23.561s 0m16.625s 0m5.848s 0m23.766s 0m16.624s 0m5.846s 0m23.742s 0m16.621s 0m5.868s after: 0m22.999s 0m15.841s 0m5.889s 0m22.845s 0m15.808s 0m5.850s 0m22.889s 0m15.832s 0m5.848s R=golang-dev, r CC=golang-dev https://codereview.appspot.com/12745047
Diffstat (limited to 'include/bootexec.h')
0 files changed, 0 insertions, 0 deletions