On 29 May 2006, at 23:09, Alain Michaud wrote:

In the mean time, I calculate the function number "by hand", knowing the device number, function number, IO_RW, etc... Or if I use a precedure do
do this, then this will slow the program down.

It should be no problem to use (inline or not)functions. The cost of a system call dwarfs the time that may be needed to shift and "or" a few numbers together (even if you add in the cost of a regular call).


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to