Re[4]: [Haskell-cafe] Re: String vs ByteString
Hello Johan, Tuesday, August 17, 2010, 1:06:30 PM, you wrote: So it's not clear to me that using UTF-16 makes the program noticeably slower or use more memory on a real program. it's clear misunderstanding. of course, not every program holds much text data in memory. but some does, and here you will double memory usage -- Best regards, Bulatmailto:bulat.zigans...@gmail.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re[4]: [Haskell-cafe] Re: String vs ByteString
Hello Tako, Tuesday, August 17, 2010, 12:46:35 PM, you wrote: not slower but require 2x more memory. speed is the same since Unicode contains 2^20 codepoints This is not entirely correct because it all depends on your data. of course i mean ascii chars -- Best regards, Bulatmailto:bulat.zigans...@gmail.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe