Buffered output to a file is painfully slow

Will Coleda will at coleda.com
Mon Feb 9 22:02:56 UTC 2009


On Mon, Feb 9, 2009 at 3:10 PM, Andrew Whitworth <wknight8111 at gmail.com> wrote:
> On Mon, Feb 9, 2009 at 2:50 PM, chromatic <chromatic at wgz.org> wrote:
>> On Monday 09 February 2009 11:21:52 Andrew Whitworth wrote:
>>
>>> On a tangential matter, maybe we need to consider changing "puts" to
>>> be a VTABLE instead of a METHOD?
>>
>> No.  We have to fix PCCINVOKE.  Ideally, we'll excise it from the system
>> entirely.  Every time we call into the runloop again from C, we lose.
>>
>> The problem here, as usual, is that we have too much code written in C.
>
> That's fair, but operations on PMCs that are common enough really
> could be VTABLEs. Another discussion for another day.

my 2 cents here; whether something is a vtable or a method not should
probably not be dictated by the fact that calling a vtable is faster
than a method. It should be guided by a sane API.

-- 
Will "Coke" Coleda


More information about the parrot-dev mailing list