Minor perf tweak for _SPI_strdup(): if we're going to call strlen()
authorNeil Conway <neilc@samurai.com>
Sat, 12 Jan 2008 10:38:32 +0000 (10:38 +0000)
committerNeil Conway <neilc@samurai.com>
Sat, 12 Jan 2008 10:38:32 +0000 (10:38 +0000)
commita7342052a077f1389af2c7231943768b951d9cfa
treed59cd1140b529bc69b50de204e6fad1112566c42
parentdcc3299f0edad69ede0410dc58c41f24153bda88
Minor perf tweak for _SPI_strdup(): if we're going to call strlen()
anyway, it is faster to memcpy() than to strcpy().
src/backend/utils/adt/xml.c