good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^7: Very Large Hex Combinationsby Anonymous Monk |
on Aug 05, 2005 at 11:15 UTC ( [id://481193]=note: print w/replies, xml ) | Need Help?? |
The program below will get you started. It generates all 8x8 images using just black and white pixels, storing them in PBM format, requiring only 15 bytes per file.
Without counting overhead of inodes and directories, you only need to solve the *minor* *minor* *minor* storage issue of 257,698,037,760 Tb. On my computer, it took more than an hour to generate all 3x8 bitmaps. Rounding that down to an hour, an estimate to do all 8x8 bitmaps is 125 million years. That's 125 million years for an image consisting of a mere 64 bits. A 480x640 bitmap contains 307200 bits, the full colour version 7372800 bits. Realizing that a single bit more means doubling of your computer time you must come to the conclusion your quest is unfeasable. Really, it's cheaper to just subscribe to the porn sites instead of generating your smut images this way. Here's the code:
In Section
Seekers of Perl Wisdom
|
|