How about file sizes of ($bucketsize / 2) + 1. That would be the worst case scenerio, and would take N buckets (where N is the number of files).
Although the OP is not talking about files that large (350Mb PDF files are a little large :), your algorithm can fail in the case of worst case data.
--MidLifeXis
In reply to Re^2: How to maximise the content of my data CD
by MidLifeXis
in thread How to maximise the content of my data CD
by amaguk
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |