| | 64 | |
| | 65 | == Remove CodeString PMC == |
| | 66 | |
| | 67 | See #1633 |
| | 68 | |
| | 69 | === Description === |
| | 70 | |
| | 71 | The CodeString pmc has been removed. |
| | 72 | |
| | 73 | === Rationale === |
| | 74 | |
| | 75 | See #1633. With the switch to immutable strings, CodeString became very expensive, as it did a lot of string concatenations. |
| | 76 | |
| | 77 | === Replacement === |
| | 78 | |
| | 79 | As 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 | |
| | 81 | Charname_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). |