summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/JPGLoader.cpp
diff options
context:
space:
mode:
authorMustafa Quraish <mustafaq9@gmail.com>2021-09-17 14:29:48 -0400
committerAndreas Kling <kling@serenityos.org>2021-09-24 14:32:52 +0200
commit35704ba27256d028d9597042e52898934bb738a8 (patch)
tree124d184a109e16baf533943fcccbdc1396ec7632 /Userland/Libraries/LibGfx/JPGLoader.cpp
parent4173f2ffad7d67f52068a16e1f30348a86725ddf (diff)
downloadserenity-35704ba27256d028d9597042e52898934bb738a8.zip
LibDiff: Perform diffing-algorithm in reverse order
Previously the algorithm was being performed from the start of the string to the end, which was a little more convenient when writing the code, but made it more annoying to be able to properly talk about the "start" of where the changes were happening, since we can only re-construct the changes in reverse order of the initial traversal. Basically, doing the initial pass in reverse lets us reconstruct the hunks in the correct order to begin with, and not have to worry about reversing the hunks / lines within the hunks
Diffstat (limited to 'Userland/Libraries/LibGfx/JPGLoader.cpp')
0 files changed, 0 insertions, 0 deletions