darcs

Issue 2478 refactor Darcs.Patch.Prim.V1.Apply

Title refactor Darcs.Patch.Prim.V1.Apply
Priority Status unknown
Milestone Resolved in
Superseder Nosy List gh
Assigned To
Topics Core, Performance

Created on 2015-11-07.18:52:32 by gh, last changed 2015-11-07.18:52:32 by gh.

Messages
msg18840 (view) Author: gh Date: 2015-11-07.18:52:28
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 ).
History
Date User Action Args
2015-11-07 18:52:32ghcreate