[web-devel] Re: [Haskell-cafe] Google Summer of Code: BlazeHTML RFC
Michael Snoyman
michael at snoyman.com
Thu May 27 04:23:33 EDT 2010
On Thu, May 27, 2010 at 11:16 AM, Ivan Miljenovic <ivan.miljenovic at gmail.com
> wrote:
> On 27 May 2010 17:55, Michael Snoyman <michael at snoyman.com> wrote:
> > Two comments:
> > * The exclamation point seems good enough for attributes. I copied that
> for
> > Hamlet as well.
> > * If you're standardizing on UTF-8, why not support bytestrings? I'm
> aware
> > that a user could shoot him/herself in the foot by passing in non-UTF8
> data,
> > but I would imagine the performance gains would outweigh this. My recent
> > benchmarks on the BigTable benchmark[1] imply a huge performance gap
> between
> > ByteStrings and other contenders.
>
> 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.
Michael
[1]
http://github.com/snoyberg/benchmarks/blob/master/bigtable/cgi/bytestring.hs
[2] http://github.com/snoyberg/benchmarks/blob/master/bigtable/cgi/text.hs
[3] http://github.com/snoyberg/benchmarks/blob/master/bigtable/cgi/string.hs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/web-devel/attachments/20100527/10c59bbf/attachment.html
More information about the web-devel
mailing list