[web-devel] Re: [Haskell-cafe] Google Summer of Code: BlazeHTML RFC
Johan Tibell
johan.tibell at gmail.com
Thu May 27 05:57:42 EDT 2010
On Thu, May 27, 2010 at 10:23 AM, Michael Snoyman <michael at snoyman.com>wrote:
> On Thu, May 27, 2010 at 11:16 AM, Ivan Miljenovic <
> ivan.miljenovic at gmail.com> wrote:
>
>> Wow, I find it rather surprising that String out-performs Text; any
>> idea why that is? I wonder if you're just using it wrong...
>>
>> Could be, I'd be very happy if that were the case. All of the benchmarks
> are available on Github, and the bytestring[1], text[2] and string[3]
> versions are all rather short.
>
Do you include the cost of encoding the result as e.g. UTF-8? The hope would
be that the more compact Text would be faster to traverse, and thus encode,
than the list based String.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/web-devel/attachments/20100527/b3e22e1f/attachment.html
More information about the web-devel
mailing list