Closed recursion-ninja closed 4 years ago
The initial implmentation has been added. See commit: aefbe5187373502a2db101785f400c9917a607f1
We still need to optimize the implementations to be as performant as possible.
This has been completed with the addition of the Implied Alignment algorithm.
Issue by recursion-ninja Monday Apr 03, 2017 at 17:40 GMT Originally opened as https://github.com/ima-hima/PCG/issues/18
The
Data.These
module exports a unique Bifunctor which, when combined with theAlign
class fromData.Align
, resembles a dynamic character alignment. With slight modification to the type, we could create an analogous type for alignments:Storing a
Traversable
structure ofAlignmentIndex
would allow us to quickly generate bothDeletionEvents
andInsertionEvents e
in different parts of the codebase. This would however, not play nicely with the current FFI alignmnet bindinds tosequentialAlidn
andforeignAlign
, as we would have to perform extra work to construct theAlignmentIndex a b
sequence.