Re: Exporter and memory footprint reduction

2009-12-10 Thread Steffen Mueller
Hi Mattia, Mattia Barbon wrote: the list of constants and event names available for exporting (stored in Wx::Wx_Exp) wastes about 1MB of RAM (measured using heap(1), Snow Leopard, 64bit Perl); for a 32bit Perl the amount of wasted memory is about 800KB. The simplest way to reduce memory oc

Re: Exporter and memory footprint reduction

2009-12-09 Thread Johan Vromans
Mattia Barbon writes: >In order to do this, I need to change the way constants are > exported, which in turn means partially or totally replacing Exporter. > This change will benefit all wxPerl users, and in particular those > using threads; do you think it is worth implementing? I don't thi

Exporter and memory footprint reduction

2009-12-09 Thread Mattia Barbon
Hi, the list of constants and event names available for exporting (stored in Wx::Wx_Exp) wastes about 1MB of RAM (measured using heap(1), Snow Leopard, 64bit Perl); for a 32bit Perl the amount of wasted memory is about 800KB. The simplest way to reduce memory occupation is to move the lis