|
Created on 2008-08-16.10:30:54 by kowey, last changed 2010-04-04.17:49:12 by kowey.
msg5552 (view) |
Author: kowey |
Date: 2008-08-16.10:30:53 |
|
Another fun project to work on. Experiment with the use of lazy
bytestrings in darcs, especially now that we are using bytestrings
already.
Also, as Petr Ročkai noticed on IRC:
mornfall: mmapFileByteStringLazy oh wow.
mornfall: Maps region of file and returns it as
Data.ByteString.Lazy.ByteString. File is mapped in in ReadOnly mode. See
mmapFilePtrLazy for details. Chunks are mapped in on demand.
mornfall: And it works on windows.
mornfall: And the lazy zlib binding. Mmm.
|
msg5554 (view) |
Author: kowey |
Date: 2008-08-16.10:36:57 |
|
David's notes on it (I think):
Ideally, we'd do this after introducing the new hunk patches. Also note that I
do not want lazy IO, as that's been a major source of headaches in terms of
problems like file handle leaks. But O(1) append would be nice, as would the
highly-optimized nature of bytestring.
|
msg6467 (view) |
Author: kowey |
Date: 2008-10-26.08:12:50 |
|
Making Don nosy (maybe of interest?)
|
msg8316 (view) |
Author: kowey |
Date: 2009-08-21.16:37:54 |
|
I've added issue1357 to our superseder list because of David's suggestion that
it would be ideal to get chunky hunks first, but I don't really understand why
he thinks this is the case, maybe that the benefits would only really kick in
once we have them?
I'd recommend that we only do this with extensive benchmarking and also some
fairly detailed argumentation about when we should/shouldn't be using these lazy
bytestrings.
|
|
Date |
User |
Action |
Args |
2008-08-16 10:30:54 | kowey | create | |
2008-08-16 10:34:01 | kowey | set | priority: feature nosy:
beschmi, kowey, dagit topic:
+ Performance |
2008-08-16 10:36:58 | kowey | set | status: unread -> unknown nosy:
beschmi, kowey, dagit messages:
+ msg5554 |
2008-10-26 08:12:52 | kowey | set | nosy:
+ dmitry.kurochkin, dons, simon, thorkilnaur messages:
+ msg6467 |
2009-08-06 21:11:18 | admin | set | nosy:
- beschmi |
2009-08-10 23:42:43 | admin | set | nosy:
- dagit |
2009-08-21 16:37:57 | kowey | set | status: unknown -> needs-implementation nosy:
kowey, simon, thorkilnaur, dons, dmitry.kurochkin superseder:
+ wish: "chunky" representation for hunks messages:
+ msg8316 |
2009-08-25 17:32:38 | admin | set | nosy:
+ darcs-devel, - simon |
2009-08-27 10:36:47 | kowey | set | nosy:
kowey, darcs-devel, thorkilnaur, dons, dmitry.kurochkin |
2009-08-27 14:28:43 | admin | set | nosy:
kowey, darcs-devel, thorkilnaur, dons, dmitry.kurochkin |
2010-04-04 17:49:12 | kowey | set | nosy:
- thorkilnaur |
|