Buffered output to a file is painfully slow

Allison Randal allison at parrot.org
Mon Feb 9 22:33:58 UTC 2009


chromatic wrote:
> 
> Top priority: get the generated PCCINVOKE headers out of METHODs in the .c 
> files generated from .pmc files.  Then we can look at ways to optimize that.
> 
> Second priority: refactor all invocations of Subs and Sub-like PMCs to use 
> CallSignature PMCs, so we can either prove that that line of thinking is 
> horribly flawed and will give us another order of magnitude slowdown, or we 
> can optimize it so it's not nearly as expensive.

Hmmmm... yes, we've hit the pain threshold on this one. Needs immediate 
attention. I'll make a branch right now and rip out the old PCCINVOKE 
code, so we can start benchmarking the difference.

Allison


More information about the parrot-dev mailing list