#1639: StringHandle should be updated to use StringBuilder internally.
--------------------+-------------------------------------------------------
Reporter: bacek | Owner:
Type: todo | Status: new
Priority: normal | Milestone:
Component: core | Version: trunk
Severity: low | Keywords: newbie
Lang: | Patch:
Platform: |
--------------------+-------------------------------------------------------
Comment(by coke):
The initial comments above were against the wrong file, which is why they
reference a non-existant method.
src/pmc/stringhandle has an ATTR named *stringhandle. - this is
initialized to a string PMC, but should be a stringbuilder PMC instead.
the initialization happens in open().
The string is appended to in puts() - that's why we want stringbuilder,
which is much faster/better with appends than the now-immutable string.
The stringhandle tests are in t/pmc/stringhandle.t. You can always ack
through the t/ files to find tests that include a given pmc/opcode/etc.
{{{
perl t/harness t/pmc/stringhandle.t
}}}
to run a single test file with the standard harness settings.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1639#comment:3>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets