From 3a477c1376b02b621063dc1549172a272bc408d5 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 16 May 2017 01:05:53 -0400 Subject: devblog --- doc/devblog/day_458__adeiu_MissingH.mdwn | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 doc/devblog/day_458__adeiu_MissingH.mdwn diff --git a/doc/devblog/day_458__adeiu_MissingH.mdwn b/doc/devblog/day_458__adeiu_MissingH.mdwn new file mode 100644 index 000000000..5d6a7870e --- /dev/null +++ b/doc/devblog/day_458__adeiu_MissingH.mdwn @@ -0,0 +1,18 @@ +Wasn't planning to, but spent the day making git-annex not depend on the +MissingH library. This has been a long-term goal, as MissingH pulls in +several other libraries and is not modern or principled. + +The first part was to using cryptonite for MD5 calculation. While +converting to the form git-annex uses to make hash directories involved +some math, this did make git-annex garbage-collect less, and +probably made it faster. + +Then I had to write my own progress meter display, since git-annex was +using MissingH's display. That was fairly simple (73 LoC), and let me +make it more efficient and tuned for the git-annex use case. As a bonus, it +got progress displays when transferring files of unknown sizes, which +wasn't done before. + +MissingH was handy training wheels when I was coming over from perl, +but it's been training wheels on some old cars in the middle of a +500 car train for a while, so glad that's over. -- cgit v1.2.3