diff options
| author | Bruce Momjian | 2006-02-03 13:53:15 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2006-02-03 13:53:15 +0000 |
| commit | ebd38e3c1d9bccb66253979840ae37612b0e3e89 (patch) | |
| tree | f4bf64ad27e5992147308246491bdcc48ebb9176 /src/template/aix | |
| parent | 59bb147353ba274e0836d06f429176d4be47452c (diff) | |
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.
Diffstat (limited to 'src/template/aix')
| -rw-r--r-- | src/template/aix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/template/aix b/src/template/aix index 48f1110f3e8..d875a08083c 100644 --- a/src/template/aix +++ b/src/template/aix @@ -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 |
