summaryrefslogtreecommitdiff
path: root/src/include/c.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/c.h')
-rw-r--r--src/include/c.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/include/c.h b/src/include/c.h
index 8f537860d2e..a51e012dcf0 100644
--- a/src/include/c.h
+++ b/src/include/c.h
@@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: c.h,v 1.127 2002/10/08 19:17:58 momjian Exp $
+ * $Id: c.h,v 1.128 2002/10/08 23:12:22 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -572,10 +572,11 @@ typedef NameData *Name;
* Exactly the same as standard library function memset(), but considerably
* faster for zeroing small word-aligned structures (such as parsetree nodes).
* This has to be a macro because the main point is to avoid function-call
- * overhead.
+ * overhead. However, we have also found that the loop is faster than
+ * native libc memset() on some platforms, even those with assembler
+ * memset() functions. More research needs to be done, perhaps with
+ * platform-specific MEMSET_LOOP_LIMIT values or tests in configure.
*
- * We got the MEMSET_LOOP_LIMIT value by testing this against the libc
- * memset() on several platforms, some with assembly language versions.
* bjm 2002-10-08
*/
#define MemSet(start, val, len) \