Issue 1568 bytestring for Darcs.Patch.FileName

Title bytestring for Darcs.Patch.FileName
Priority feature Status needs-implementation
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, thorkilnaur
Assigned To
Topics Performance

Created on 2009-08-26.11:31:42 by kowey, last changed 2009-08-27.14:32:42 by admin.

msg8502 (view) Author: kowey Date: 2009-08-26.11:31:37
Paraphrased from http://wiki.darcs.net/HowToHelp:

8. Try changing `FileName <FileName>`_ to store filenames as bytestrings
   rather than String. This should speed parsing somewhat, and reduce
   memory usage. We'd still need to convert to String for IO functions,
   but those are relatively isolated, so I think this'd still be a win
   (particularly as the filename starts out as a packed string in the
   patch files.

Sounds like something you'd need to benchmark.  Proceed with caution, as there
may be some compatibility/encodings stuff to contend with
Date User Action Args
2009-08-26 11:31:42koweycreate
2009-08-27 13:43:51adminsetnosy: kowey, darcs-devel, thorkilnaur, dmitry.kurochkin
2009-08-27 14:32:42adminsetnosy: kowey, darcs-devel, thorkilnaur, dmitry.kurochkin