Re: memory allocations.



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]