[PATCH] optimize calloc

Ulrich Drepper drepper@redhat.com
Sat Aug 3 12:02:00 GMT 2002


Jakub Jelinek wrote:

> 2002-08-03  Jakub Jelinek  <jakub@redhat.com>
> 
> 	* malloc/malloc.c (public_cALLOc): Only divide if one of arguments
> 	is bigger than 65535.

I've checked in a slightly changed patch.  We should unnecessarily 
punish 64-bit platforms.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



More information about the Libc-hacker mailing list