Re: Memory statistics
- From: Carlos Guerreiro <carlos guerreiro nokia com>
- To: ext Federico Mena Quintero <federico ximian com>
- Cc: performance-list gnome org, bmaurer ximian com
- Subject: Re: Memory statistics
- Date: Fri, 21 Apr 2006 23:50:35 +0300
> Is it worthwhile to hunt down non-const arrays and such?
>
Some of that can be found by static source code analysis tools.
Some years ago I used PC-lint/Flexelint (www.gimpel.org) on a (not so
large) C++ codebase. It would detect at least some non-const arrays
which could be const. It required a quite significant amount of work to
setup and tune for first time use but after that it was relatively
painless to keep up.
Has anybody tried using one of those tools on GNOME libraries?
The availability of flexelint option files for Gtk indicates that some
people are at least using that tool on Gtk applications:
(http://www.gimpel.com/html/ptch80.htm)
--Carlos
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]