Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Alastair Watts
|
Jul 22, 2010 - 8:10 AM
|
On my Intel e8400 running @ 3Ghz sorting 10 columns * 2000 items takes ten seconds. Is there anything that can be done to considerably improve performance here?
|
|
Alastair Watts
|
Jul 26, 2010 - 4:27 AM
|
This is in Release mode. It’s faster for me to read the database into memory, sort the memory & re-build the grid ... this can’t be right???
|
|
Technical Support
|
Jul 26, 2010 - 10:01 AM
|
This is not exactly similar to Release. The debugging information is on.
|
|
Technical Support
|
Jul 22, 2010 - 8:18 AM
|
The grid controls in Debug version are much slower then in Release due to heavy assertions everywhere. Please take a look at the beginning of the .../Prof-UIS/Include/ExtGridWnd.h file and check the following: 1) The following lines should be commented:
// #if (defined _DEBUG)
// #define __EXT_DEBUG_HEAVY_CHECK_GENERIC_REGION_2D
// #endif // (defined _DEBUG)
2) The following lines should be uncommented: #define __EXT_DEBUG_GRID_ASSERT_VALID( __PTR__ ) ;
#define __EXT_DEBUG_GRID_ASSERT_KINDOF( __CTYPE__, __PTR__ ) ;
#define __EXT_DEBUG_GRID_ASSERT( __SOME_EXPR__ ) ;
#define __EXT_DEBUG_GRID_VERIFY( __SOME_EXPR__ ) __SOME_EXPR__ ;
3) The following lines should be commented: // #define __EXT_DEBUG_GRID_ASSERT_VALID( __PTR__ ) ASSERT_VALID( __PTR__ ) ;
// #define __EXT_DEBUG_GRID_ASSERT_KINDOF( __CTYPE__, __PTR__ ) ASSERT_KINDOF( __CTYPE__, __PTR__ ) ;
// #define __EXT_DEBUG_GRID_ASSERT( __SOME_EXPR__ ) ASSERT( __SOME_EXPR__ ) ;
// #define __EXT_DEBUG_GRID_VERIFY( __SOME_EXPR__ ) VERIFY( __SOME_EXPR__ ) ;
|
|