Re: memory allocations.
- From: Ulrich Drepper <drepper redhat com>
- To: Chris Chabot <chabotc reviewboard com>
- Cc: Havoc Pennington <hp redhat com>, iain <iain ximian com>, gnome-hackers gnome org
- Subject: Re: memory allocations.
- Date: 27 Feb 2002 11:55:24 -0800
Chris Chabot <chabotc reviewboard com> writes:
> yelp: 55000 (!)
> nautilus: 42000
> gnome-calculator: 17000
> gedit: 19000 (plus 7 a second when the window is active (?))
> gnome-dict: 17000
> gfloppy: 15000
> gnome-search-tool: 19000
> gnome-system-monitor: 22000
And you are blaming the runtime. Fix these program. There is
omething wrong if that many allocations are needed. Ever heard of
object pools?
The malloc in glibc 2.3 will have faster locking but this is still no
excuse for programming like this.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]