1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Allow MEMSET_LOOP_LIMIT to be set on a per-platform basis, and turn off

MemSet on AIX by setting MEMSET_LOOP_LIMIT to zero.

Add optimization to skip MemSet tests in MEMSET_LOOP_LIMIT == 0 case and
just call memset() directly.
This commit is contained in:
Bruce Momjian
2006-02-03 13:53:15 +00:00
parent 59bb147353
commit ebd38e3c1d
5 changed files with 37 additions and 9 deletions

View File

@ -8,3 +8,7 @@ if test "$GCC" != yes ; then
;;
esac
fi
# native memset() is faster, 2006-02-03
# XLC 6.0, (IBM's cc), tested on AIX 5.2 and 5.1
MEMSET_LOOP_LIMIT=0