Minor perf tweak for _SPI_strdup(): if we're going to call strlen()
Neil Conway <neilc@samurai.com>
Minor perf tweak for _SPI_strdup(): if we're going to call strlen() anyway, it is faster to memcpy() than to strcpy().
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/xml.c | modified | +4 −3 |