Changes between Version 6 and Version 7 of ParrotDeprecationsFor2.9

Show
Ignore:
Timestamp:
08/27/10 04:37:42 (11 years ago)
Author:
coke
Comment:

add note for codestring, which is going away shortly.

Legend:

Unmodified
Added
Removed
Modified
  • ParrotDeprecationsFor2.9

    v6 v7  
    6262 
    6363If you want to throw an exception, you must check the result of the opcode and throw the exception explicitly.  
     64 
     65== Remove CodeString PMC == 
     66 
     67See #1633 
     68 
     69=== Description === 
     70 
     71The CodeString pmc has  been removed. 
     72 
     73=== Rationale === 
     74 
     75See #1633. With the switch to immutable strings, CodeString became very expensive, as it did a lot of string concatenations. 
     76 
     77=== Replacement === 
     78 
     79As a replacement for the .emit() functionality, instead use .append_format() in StringBuilder.  Only difference from emit() is that newlines are not automatically appended, so you'll have to add them manually. 
     80 
     81Charname_to_ord is now an opcode: find_codepoint. The other methods that were provided are now part of PCT (and are probably not needed directly).