In article <3a7d3569@news.povray.org> , "Daniel Jungmann" <DSJ### [at] gmxnet>
wrote:
> general things which can be optimized
>
> 1) loops
> 2) float divisions (replace mutiple divisions with one division and
> multiplications)
> 3) if then / ? :
> 4) integer multiplications and divisions (replace them with shift or
> additions)
> 5) multiple integer calculations
It is a complete waste of time to optimize these by hand. Every compiler
can do a much better job on these and the code stays readable on your site!
If you want to seriously speed up POV-Ray, look into the intersection
algorithms and find ways how to reduce the number of intersections further.
Bounding boxes are a start, but maybe there are additional algorithms?
Thorsten
Post a reply to this message
|