Skip to content
This repository was archived by the owner on Aug 5, 2024. It is now read-only.
This repository was archived by the owner on Aug 5, 2024. It is now read-only.

Diffing sequence of tokens instead sequence of characters #5

Description

@ndvbd

I need to diff a sequence of tokens instead of a sequence of characters. Is there a solution for it?
So basically every token is either a sequence of characters, or some object, it doesn't matter, as long as you can compare two tokens and say if they are equal or not.

So I need the same solution of diff-match-patch, but a more generalized one: instead of restricting the algorithm to work on a sequence of characters, to work on a sequence of any kind of (comparable) objects.

Is the python difflib library as efficient as diff-match-patch?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions