numist / Diffing-Explorations

A playground for diffing experiments along with the algorithms and data structures needed to support them
9 stars 0 forks source link

Improve the application of tries to diffing (plus some other ideas) #4

Closed numist closed 4 years ago

numist commented 4 years ago

This fixes #2.

There are a bunch of lessons here, some expected and others surprising:

numist commented 4 years ago

Here's a visualization of how the workqueue size differs for each round of the diffing algorithm for the first hundred rounds of a couple of the tests in the suite when tries are disabled. I used it as a starting point for experimenting with on-demand trie creation.

Screen Shot 2020-04-10 at 3 12 29 AM

There's a couple neat things here: