#448: [TODO] Migrate non-essential PMCs to dynpmcs
-------------------------+--------------------------------------------------
 Reporter:  allison      |       Owner:     
     Type:  deprecation  |      Status:  new
 Priority:  normal       |   Milestone:  2.4
Component:  none         |     Version:     
 Severity:  medium       |    Keywords:     
     Lang:               |       Patch:     
 Platform:               |  
-------------------------+--------------------------------------------------

Comment(by coke):

 Replying to [comment:5 pmichaud]:
 > > There's not really any advantage to having CodeString as a core PMC.
 > > Would make more sense as a PIR class (PCT::CodeString or something
 like that).
 >
 > Originally CodeString was a PIR class.  We moved it to being a core PMC
 because it's primary method (emit) is significantly faster written in C
 than in PIR, and this directly affects compilation speed.
 >
 > I'd prefer to see that remain the case.  Or if we would be better served
 by creating an 'emit' opcode (that could do the work in C), I'd be okay
 with that.
 >
 > If Parrot supports a StringBuffer type that would work as a replacement,
 we might be able to use that.
 >
 > Pm

 FYI, The CodeString in branches/codestring now basically uses a
 StringBuffer under the covers; .emit() adds chunks (doing the
 substitution), while the get_string VTABLE collapses it into a String.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/448#comment:12>
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