[task #4398] Not random download for _specific_ files
jave <savannah-bounces <at> gnu.org>
2006-02-16 20:53:42 GMT
Follow-up Comment #2, task #4398 (project mldonkey):
#5049 #4851 and #4398 all seem to be basically the same.
Ive done some small research into this and here is a possible
implementation:
- implement a vector of priorityfields matching the chunks to download
vector.
- initially only prio 0 and 1 are implemented, 0 meaning dont down, 1
download
- one has to match file boundaries to the chunk vector. this is mostly
already present
- there needs to be some commands that sets the download prio vector
according to which files in the torrent should be downloaded. not so hard
given the above. be conservative and download whole chunks spanning
boundaries.
- the initial implementation would just fool the download scheduler that prio
0 chunks are already downloaded
- the next step would be to implement actual priorities, which would be
harder...
this incremental plan looks doable and will bring a quite useful feature even
at its simplest level
(Continue reading)