[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2008-11-02 (02:52) |
From: | Micha³_C <ciebiada@g...> |
Subject: | Question about optimization |
Hi! I'm working on a physical based ray(path) tracer and the performance is one of my top priorities (just after the image quality). So I have a question about optimization: can You share some tips or maybe optimizing strategies to improve the speed of programs? here is my code: http://neos1.ovh.org/ray3.ml, and here is how I compile it: ocamlopt -inline 100 -unsafe -ffast-math str.cmxa -I +lablgl lablgl.cmxa lablglut.cmxa -o ray ray.ml Maybe You can take a look, sure I don't expect You to look through it in some hardcore way, but You know, maybe there are some obvious mistakes or unnecessary boxing which will spot your eye. Thanks in advance, oh and if you possibly want to see the development or how the program works - http://neos1.wordpress.com Regards