develooper Front page | perl.perl6.internals | Postings from July 2002

Re: Stack performance issue

Thread Previous | Thread Next
From:
Tom Hughes
Date:
July 2, 2002 08:36
Subject:
Re: Stack performance issue
Message ID:
yeku1nicfdl.fsf@dutton.uk.cyberscience.com
In message <5.1.0.14.2.20020701162454.02d8d4c8@pop.mindspring.com>
        Melvin Smith <mrjoltcola@mindspring.com> wrote:

> You might want to modify register stacks too. I currently have a
> band-aid on it that just doesn't free stack chunks which works in
> all but the weirdest cases.

I've done that now. I also just realised that the stacks are
allocating their chunks directly from the system, which presumably
means the GC won't pick them up so they need to be freed directly.

I've done that for the register stacks, and I'll do the same for the 
other stacks unless somebody spots a flaw in my logic and points out
that the GC will catch it...

Tom

-- 
Tom Hughes (tom@compton.nu)
http://www.compton.nu

Thread Previous | 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