I made my LEGO domes hollow and replaced plates with bricks in some
places. Then I ported the code to C and generated a data file for POV to
use. The runtime of the C program is negligable (~1.5s).
Old version of LEGO domes:
Smallest Alloc: 26 bytes Largest: 108584
Peak memory used: 487012441 bytes
----------------------------------------------------------------------------
Time For Parse: 0 hours 48 minutes 24.0 seconds (2904 seconds)
Time For Trace: 0 hours 47 minutes 46.0 seconds (2866 seconds)
Total Time: 1 hours 36 minutes 10.0 seconds (5770 seconds)
New version of LEGO domes:
Smallest Alloc: 26 bytes Largest: 72016
Peak memory used: 181457192 bytes
----------------------------------------------------------------------------
Time For Parse: 0 hours 4 minutes 45.0 seconds (285 seconds)
Time For Trace: 0 hours 21 minutes 0.0 seconds (1260 seconds)
Total Time: 0 hours 25 minutes 45.0 seconds (1545 seconds)
--
David Fontaine <dav### [at] faricynet> ICQ 55354965
Please visit my website: http://davidf.faricy.net/
Post a reply to this message
|