Erel, Klaus,
I'm using Klaus's wonderful Flexible Table View that uses string lists for holding the table data. I'm experencing big performance issues when doing a number sort. When converting a column to number format for comparison (double) it is very slow. String sorting ist very fast on the same table
'--o--o--o--o number sort snippet
'Dim s1 as Double = values1(col) 'strings list
This simple conversion is so slow (in a table of about 6000) items that I can not beleave that this is right.
Since my table for that column only contains integers I worked around it with leaving the strings as string and simply add leading zeros to the comparising variables which works great and almost same speed like sorting strings.
Now, here is my questions to Erel: Is there any other way for conversion string to number instead the one I described or is this a technical limitation?
I'm using Klaus's wonderful Flexible Table View that uses string lists for holding the table data. I'm experencing big performance issues when doing a number sort. When converting a column to number format for comparison (double) it is very slow. String sorting ist very fast on the same table
'--o--o--o--o number sort snippet
'Dim s1 as Double = values1(col) 'strings list
This simple conversion is so slow (in a table of about 6000) items that I can not beleave that this is right.
Since my table for that column only contains integers I worked around it with leaving the strings as string and simply add leading zeros to the comparising variables which works great and almost same speed like sorting strings.
Now, here is my questions to Erel: Is there any other way for conversion string to number instead the one I described or is this a technical limitation?