hi
i'm heavily using system.object DataType on ultradatacolumn
i'm facing performances issues on using this type combined with an ultragrid
if i change all my columns datatype from string to object, scrolling the data in the grid is very slow
i'm sure the performance can't be as good as using standard types but it's way far slower
does anyone have informations about this?
actually
that was a problem in our code
we are using custom propertydescriptors to bind the grid, they are called many times and the code heaviily use reflection there
we managed to improve performance thanks to system.reflection.emit
but we still face a performance problem in inheriting the grid
i'll post back later when we'll have a clear view of the problem
thanks for the reply
I can't see why the data type in itself should make that much difference. Although this might be an issue with boxing / unboxing the data.
My first suggestion would be to turn on breaking on all run-time exceptions in the IDE and see if you are getting any. Perhaps something in your code is causing exceptions to be raised and caught. This is a common cause of performance problems.