Rope PMC (was Re: Why has pbc_to_exe become unusable?)
chromatic
chromatic at wgz.org
Thu Apr 22 23:11:50 UTC 2010
On Thursday 22 April 2010 at 16:04, Patrick R wrote:
> In the case of POST::Compiler, most "concatenations" occur on CodeString
> PMCs through the .emit() method. It's certainly okay to redesign emit()
> internally so that it maintains the string as some other structure,
> as long as when we ultimately request get_string() we get the expected
> result.
That's easy to do in the get_string vtable. If this is a bottleneck in Rakudo
after the release, I should be able to implement it in a short period of time.
> CodeStrings also currently expect to be 'isa String' -- that may
> want to be changed into 'does string' at some point, but doing so
> would likely also have a big impact on lots of existing :multi() subs.
I don't think that change is necessary yet.
-- c
More information about the parrot-dev
mailing list