Speed up conversion of signed integers to C strings.

Robert Haas <rhaas@postgresql.org>

Commit: 4fc115b2e981f8c63165ca86a23215380a3fda66
Author: Robert Haas <rhaas@postgresql.org>
Date: 2010-11-20T03:13:11Z
Releases: 9.1.0
Speed up conversion of signed integers to C strings.

A hand-coded implementation turns out to be much faster than calling
printf().  In passing, add a few more regresion tests.

Andres Freund, with assorted, mostly cosmetic changes.

Files