mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-30 19:00:29 +08:00
Update MemSet comments.
This commit is contained in:
parent
56ece37384
commit
59da96b8ce
@ -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.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;
|
||||
* This has to be a macro because the main point is to avoid function-call
|
||||
* overhead.
|
||||
*
|
||||
* We got the 64 number by testing this against the stock memset() on
|
||||
* BSD/OS 3.0. Larger values were slower. bjm 1997/09/11
|
||||
*
|
||||
* I think the crossover point could be a good deal higher for
|
||||
* most platforms, actually. tgl 2000-03-19
|
||||
* 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) \
|
||||
do \
|
||||
|
Loading…
Reference in New Issue
Block a user