[ENH] ~1.8x faster CharacterArray>>printString

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ENH] ~1.8x faster CharacterArray>>printString

Andres Valloud-2
Hello VW,

  Another preallocation improvement, another speedup for RB.

allStrings := CharacterArray allGeneralInstances.

Time millisecondsToRun: [allStrings do: [:x | x printString]] 5041
Time millisecondsToRun: [allStrings do: [:x | x printString]] 2757
 
--
Best regards,
 Andres                          mailto:[hidden email]

CharacterArray-printString.st (938 bytes) Download Attachment