From ac1e481bfa4d0dbb8a80c7b729edeef4e692f989 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 26 Nov 2019 16:12:14 -0400 Subject: [PATCH] devblog --- ..._610-611__ByteString_optimisation_early_days.mdwn | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 doc/devblog/day_610-611__ByteString_optimisation_early_days.mdwn diff --git a/doc/devblog/day_610-611__ByteString_optimisation_early_days.mdwn b/doc/devblog/day_610-611__ByteString_optimisation_early_days.mdwn new file mode 100644 index 0000000000..c64240173d --- /dev/null +++ b/doc/devblog/day_610-611__ByteString_optimisation_early_days.mdwn @@ -0,0 +1,12 @@ +Two entire days spent making a branch where git-annex uses ByteString +instead of String, especially for filepaths. I commented out all the +commands except for find, but it still took thousands of lines of patches +to get it to compile. + +The result: git-annex find is between 28% and 66% faster when using +ByteString. The files just fly by! + +It's going to be a long, long road to finish this, but it's good to have a +start, and know it will be worth it. +[[todo/optimize_by_converting_String_to_ByteString]] is the tracking page +for this going forward.