Submitted by Anonymous on Sat, 08/18/2001 - 03:19.
I have been looking for a way to improve the performance of one of my program`s XRT tables (namely when the table is initially loaded with records from the database). There was a time when this table only had to handle < 50 rows of data, but now it has to handle 500 to possibly several thousand rows. Currently the source calls XrtTblAddRows() for each record that is grabbed from the db. But now I`m wondering if it would be more beneficial to just create an XmNxrtTblCellValues structure of my own, dump the db records into it and slam the contents of this struct into the table. Would there be a noticable performance increase in doing this over the plain old multi calls to XrtTblAddRows()?
Also, I`ve noticed that there is serious lag time involved when trying to select a row in a large table (3000+ rocords). Upon clicking on the row it takes several seconds for that row to highlight. Any suggestions on how to improve the performance of this callback?
Thanks for any help on the above.
Greg