#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 kthakore):

 From what I have understood from Coke:

 src/pmc/stringhandle.pmc has an attribute "*stringhandle* - which needs to
 be changed

 [Relevant Files: src/pmc/string.pmc and src/pmc/stringbuilder.pmc]

 The internal buffer is STRING, but should be StringBuilder instead of a
 String. The main reason is the guts of push_string(), which stringbuilder
 does better.

 Coke 'The puts() method that makes it want to update' ??? [Clarification
 Needed]

 Coke ' You could start by changing the open() method to initialize the
 stringhandle attribute with a Stringbuilder instead of a string and seeing
 what breaks '

 Are there specific tests for this? How do I run those without running the
 whole test suite (like perl Build test --test_files )?

 R

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1639#comment:2>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to