
22 Oct
2010
22 Oct
'10
4:40 a.m.
On Fri, Oct 22, 2010 at 10:30 AM, Ivan Lazar Miljenovic
For example, I assume that it's better to try and use Text throughout rather than continually packing String values (in my case, I'm looking at using Text for I/O in graphviz; should I then start using Text rather than String for all the parameters?).
Yes. Just like with ByteString, frequent packs or unpacks kills performance. The only thing I pack is compile time constants (and, at least for ByteStrings, that's cheap). Johan