
15 Aug
2014
15 Aug
'14
5:20 a.m.
On 2014-08-15 at 10:35:54 +0200, Christian Maeder wrote: [...]
network-uri should be preferred over other "uri" packages [1]
Tbh, I don't like the current Network.URI API, as it's heavily 'String' based. If you have process/store a lot of URIs you incur a measurable overhead. Fwiw, this has been noticed in the past: - http://www.haskell.org/pipermail/haskell-cafe/2012-March/100004.html - http://permalink.gmane.org/gmane.comp.lang.haskell.libraries/18761 However, I am not aware of any Network.URI replacement based on 'Text' or 'ByteString' yet. So far I've just coded up minimal URL parsers that worked on a small subset of the URI grammer when I wanted something more efficient. Cheers, hvr