Some easy optimizations to be considered

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
h.hasenack
Posts: 48
Joined: Tue 20 Jan 2009 12:35

Some easy optimizations to be considered

Post by h.hasenack » Wed 21 Apr 2010 08:02

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

bork
Devart Team
Posts: 649
Joined: Fri 12 Mar 2010 07:55

Post by bork » Wed 21 Apr 2010 13:34

Hello

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

h.hasenack
Posts: 48
Joined: Tue 20 Jan 2009 12:35

Post by h.hasenack » Thu 22 Apr 2010 07:08

Thx

Post Reply