Commit 59da96b8 authored by Bruce Momjian's avatar Bruce Momjian

Update MemSet comments.

parent 56ece373
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $Id: c.h,v 1.126 2002/09/04 22:54:18 petere Exp $ * $Id: c.h,v 1.127 2002/10/08 19:17:58 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -574,11 +574,9 @@ typedef NameData *Name; ...@@ -574,11 +574,9 @@ typedef NameData *Name;
* This has to be a macro because the main point is to avoid function-call * This has to be a macro because the main point is to avoid function-call
* overhead. * overhead.
* *
* We got the 64 number by testing this against the stock memset() on * We got the MEMSET_LOOP_LIMIT value by testing this against the libc
* BSD/OS 3.0. Larger values were slower. bjm 1997/09/11 * memset() on several platforms, some with assembly language versions.
* * bjm 2002-10-08
* I think the crossover point could be a good deal higher for
* most platforms, actually. tgl 2000-03-19
*/ */
#define MemSet(start, val, len) \ #define MemSet(start, val, len) \
do \ do \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment