![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: Distribute MP3 recordings optimally to CD-Rsby revdiablo (Prior) |
on Sep 30, 2005 at 19:26 UTC ( #496495=note: print w/replies, xml ) | Need Help?? |
That's basically the algorithm I used in Algorithm::BinPack. Sort by biggest-first, then iterate on each item. If it doesn't fit in the first bin, try the next bin. Rinse, repeat.
In Section
Cool Uses for Perl
|
|