[prev in list] [next in list] [prev in thread] [next in thread] 

List:       darcs-devel
Subject:    [darcs-devel] [issue2478] refactor Darcs.Patch.Prim.V1.Apply
From:       Guillaume Hoffmann <bugs () darcs ! net>
Date:       2015-11-07 18:52:32
Message-ID: 1446922352.77.0.581340251409.issue2478 () darcs ! net
[Download RAW message or body]


New submission from Guillaume Hoffmann <guillaumh@gmail.com>:

The whole applyHunks/applyHunkLines business in
Darcs.Patch.Prim.V1.Apply (the only places that call
break{After,Before}NthNewline) should be documented, commented, and
probably refactored. breakAfterNthNewline and breakBeforeNthNewline
(from Darcs.Utils.ByteString) may end up moved to that module too.

I also hope we gain some performance on patch application by doing this.

(This is a followup from http://bugs.darcs.net/patch1406 ).

----------
messages: 18840
nosy: gh
status: unknown
title: refactor Darcs.Patch.Prim.V1.Apply
topic: Core, Performance

__________________________________
Darcs bug tracker <bugs@darcs.net>
<http://bugs.darcs.net/issue2478>
__________________________________
_______________________________________________
darcs-devel mailing list
darcs-devel@darcs.net
http://lists.osuosl.org/mailman/listinfo/darcs-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic