The open opcode

Allison Randal allison at parrot.org
Sun Apr 25 09:34:45 UTC 2010


Andrew Whitworth wrote:
> In the case of the open operation, avoiding the PCC call is probably
> not a huge savings. Open is not called often enough to make a huge
> difference either way. Operations like read/write are both called far
> more often so the saves there really do add up over time. I have no
> problem making the uncommon case more expensive if it gives us better
> security utility. I'm sure we could find performance savings elsewhere
> in the IO subsystem to make up for it.

A method call isn't what's needed here anyway. All it needs is to look 
up the FileHandle class from the namespace instead of instantiating it 
from the type id.

Allison


More information about the parrot-dev mailing list