Skip to content

Function *diff* run indefinitely (4Mo files) #9

@Pythux

Description

@Pythux
def read_data(path):
     fi = open(path, 'rb')
     data = fi.read()
     fi.close()
     return data

a = read_data("A")
b = read_data("B")

assert len(a) == 4202496
assert len(b) == 4202496

import bsdiff4
c = bsdiff4.diff(a, b)  # run indefinitely

file_A_and_B.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions