mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-13 20:09:46 +02:00
86eaf208ea
As benchmarks show, using libc's string-to-integer conversion is pretty slow. At least part of the reason for that is that strtol[l] have to be more generic than what largely is required inside pg. This patch considerably speeds up int2/int4 input (int8 already was already using hand-rolled code). Most of the existing pg_atoi callers have been converted. But as one requires pg_atoi's custom delimiter functionality, and as it seems likely that there's external pg_atoi users, it seems sensible to just keep pg_atoi around. Author: Andres Freund Reviewed-By: Robert Haas Discussion: https://postgr.es/m/20171208214437.qgn6zdltyq5hmjpk@alap3.anarazel.de |
||
---|---|---|
.. | ||
dicts | ||
dict_ispell.c | ||
dict_simple.c | ||
dict_synonym.c | ||
dict_thesaurus.c | ||
dict.c | ||
Makefile | ||
regis.c | ||
spell.c | ||
to_tsany.c | ||
ts_locale.c | ||
ts_parse.c | ||
ts_selfuncs.c | ||
ts_typanalyze.c | ||
ts_utils.c | ||
wparser_def.c | ||
wparser.c |