darcs

Issue 1591 more compact filenames for hashed files

Title more compact filenames for hashed files
Priority wishlist Status given-up
Milestone 3.0.0 Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, ganesh, kowey, simonmar
Assigned To
Topics Hashed, Performance

Created on 2009-08-30.12:47:16 by kowey, last changed 2017-07-31.00:55:02 by gh.

Messages
msg8596 (view) Author: kowey Date: 2009-08-30.12:47:10
Simon observed that our hashed filenames:
  0000000118-62c65c4f3a826447735efc3fd96db15456fffab0627d389cdc2ab34e8bf1452b
are rather silly due to our use of base16 for the filehash part of the name

Shorter filenames would mean faster filesystem operations.

NB: this won't work if you're using an encoding such as base64 with both lower
and upper case characters (case insensitive file systems?).

Base32 is probably the way to go.

[there was some discussion on using base64 with our own custom encoding, ie.
replacing something other than letters to avoid case problems, but that's
probably going to be problematic]
msg16769 (view) Author: gh Date: 2013-04-21.17:59:59
I understand this requires a change of repository format right?
History
Date User Action Args
2009-08-30 12:47:16koweycreate
2009-10-23 22:36:48adminsetnosy: + marlowsd, - simonmar
2009-10-23 23:35:19adminsetnosy: + simonmar, - marlowsd
2013-04-21 18:00:02ghsetmessages: + msg16769
milestone: 3.0.0
2017-07-31 00:55:02ghsetstatus: needs-implementation -> given-up