OSDN Git Service

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)
commit25b7583f67136e522b502ee2ad32ae630e521439
tree5e61b084dc0a1da352b6258bbc71cb81545bfa46
parent208d0a232147609a58a5c8a3f21c4764baf136f2
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