timings: ada vs. C

New Message Reply Date view Thread view Subject view Author view

Micheal J. Williams (mwilliam++at++ldsa.com)
Mon, 22 May 1995 09:38:01 -0400


Hi,

A while back I asked for a fast way to draw a background for some models
that were being handled by performer. The lrectread, and lrectwrite
routines were suggested, and implemented. They are slower than I
wanted (about 400 mS each call), but I have used them.

I have also used them in a different program and have them running
about 80 mS per call. This program is in C (The original is written
in ada to meet program requirements). I cannot see why there is such
a pronounced difference in speed. They are both full screen extents
(Indigo-2 Extreme 1280x1024). They both run on the same machine.

I thought at first that the problem could be the ada binding supplied
for gl, but I wrote my own interface to the routine, and got the same
speed.

I don't know how many of you are using ada out there (Writing ada bindings
for all the Performer routines we used was a huge headache), but if
someone has any help on this problem I would appreciate it.

Thanks
Mike Williams
mwilliam++at++ldsa.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:30 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.