Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaa2387e

Browse files
committed
Improve speed of timestamp/time/date output functions.
It seems that sprintf(), at least in glibc's version, is unreasonably slowcompared to hand-rolled code for printing integers. Replacing most uses ofsprintf() in the datetime.c output functions with special-purpose codeturns out to give more than a 2X speedup in COPY of a table with a singletimestamp column; which is pretty impressive considering all the otherlogic in that code path.David Rowley and Andres Freund, reviewed by Peter Geoghegan and myself
1 parentb921aeb commitaa2387e

File tree

3 files changed

+424
-128
lines changed

3 files changed

+424
-128
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp