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:
@ -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
|
||||
|
Reference in New Issue
Block a user