Page 1 of 1

Some easy optimizations to be considered

Posted: Wed 21 Apr 2010 08:02
by h.hasenack
Currently working again with ODAC, and still fighting the performance issues I have. (with modifying oracle data)

I have recompiled the ODAC libs into my app, and found out with AQTime6 that quite a lot of time is spent in (calling) BitConverter.Int64BitsToDouble and Marshal.ReadInt64

These functions are actually perfect candidates for inlining.

I could not try this myself, since I do not have sourcecode for the oranet units etc., that also use the classes mentioned above.

Please consider marking these simple routines "inline" for the allowed compilers.

Regards

Posted: Wed 21 Apr 2010 13:34
by bork
Hello

We will investigate the possibility of adding this feature in one of the next builds/versions of ODAC.

Posted: Thu 22 Apr 2010 07:08
by h.hasenack
Thx