develooper Front page | perl.perl5.porters | Postings from September 2003

[PATCH] warnings.pl: each thread 10K smaller

Thread Next
From:
Elizabeth Mattijsen
Date:
September 8, 2003 13:22
Subject:
[PATCH] warnings.pl: each thread 10K smaller
Message ID:
p05111b16bb827ce551da@[192.168.56.4]
The following patch against 21092 makes the following changes to warnings.pl:

- update $VERSION to 1.02 everywhere
- Carp invoked without exporting anything
- all references to carp() and croak() are now fully qualified
- the %Offsets, %Bits and %Deadbits hashes now marked our : unique

The patch may need to be applied with -ul because of some whitespace
issues.  All 21092 test pass, except for the known issues   ;-)

These changes cause threads to be about 10K smaller per thread (as
you can see in this Benchmark::Thread::Size output)

before:
   #   (ref)
   0    2184
   1    2612 ±12
   2    2943 ±16
   5    3916 ±18
  10    5533 ±22
  20    8783 ±26
  50   18506 ±32
100   34706 ±34

after
   #   (ref)
   0    2184
   1    2588 ± 4
   2    2914 ±16
   5    3853 ±18
  10    5426 ±20
  20    8554 ±14
  50   17972 ±36
100   33616 ±62


Liz
Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About