Pre-proposal discussion: add a version of dropWhileEnd with different laziness properties to Data.List

Greg Weber greg at gregweber.info
Mon Sep 29 22:11:04 UTC 2014


Yep, I didn't understand what was going on. The fast version of find-conduit was using a raw file path

—
Sent from Mailbox

On Mon, Sep 29, 2014 at 2:50 PM, Bardur Arantsson <spam at scientician.net>
wrote:

> On 2014-09-29 23:31, Greg Weber wrote:
>>>
>>>
>>>> Do you mean system-filepath [1]?
>>>
>>> No.  The api is ok, but performance is terrible because everything is a
>>> String.  Traversing large directories in Haskell is orders of magnitude
>>> slower than it should be (unless you use posix-paths, which obviously isn't
>>> portable).  I mean something that internally uses a RawFilePath on posix
>>> systems and some windows-specific thing on Windows.
>>>
>>>
>> I don't know how to reconcile this statement with how find-conduit was
>> benchmarked to operate about as fast as GNU grep since it uses
>> system-filepath. I am probably missing something important.
>> http://hackage.haskell.org/package/find-conduit-0.4.1/docs/Data-Conduit-Find.html#t:FileEntry
>> 
> I'm not seeing exactly what "grep" has to do with "find"...?
> Did you mean to compare GNU find with "find-conduit"?
> Regards,
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20140929/c8a7b2ec/attachment.html>


More information about the Libraries mailing list