Re: GObject memory statistics
- From: "Matthias Clasen" <matthias clasen gmail com>
- To: "Ross Burton" <ross burtonini com>
- Cc: performance-list gnome org
- Subject: Re: GObject memory statistics
- Date: Wed, 5 Jul 2006 11:14:50 -0400
On 7/4/06, Ross Burton <ross burtonini com> wrote:
On Tue, 2006-07-04 at 15:03 +0100, Michael Meeks wrote:
> Presumably the translated _nick and _blurb consume a chunk of memory
> and I/O doing i18n, and have to be dupped; I guess they're only used by
> GUI designer (type) things too. Using a callback / table to map name ->
> pair of i18n strings - that could be done as-needed would be leaner -
> but perhaps there is a solution in-place already for that.
Doesn't G_PARAM_STATIC_NICK and _BLURB remove the copies?
Yes, thats true. I had another patch which changed things so that the gettext()
calls can be avoided until the strings are actually needed, so that
the properties
translations don't have to be brought into memory at application startup time.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]