Austin Hastings wrote:
Perl 6 strings don't array-index to provide a char/grapheme/codepoint/whatever - if this does work, its an artefact of Parrot's String PMC, and thus not something I'd want to introduce to make the compiler rely on.It seems likely to me that using if $var.name[0] == '&' {might be faster, without any need to do any more work. Can you try this?
The streq_at op approach, OTOH, sounds very promising. Thanks, Jonathan _______________________________________________ http://lists.parrot.org/mailman/listinfo/parrot-dev
