From: Benny M. <ben...@gm...> - 2012-12-05 13:53:25
|
2012/12/5 Doug Blank <dou...@gm...> > > In attempting to clean up this code, I am wondering if we should ever sort > dates fast but wrong? The match code might be able to be better optimized > (perhaps caching some values/changing database). I could do some > benchmarking on using match to sort if that would be useful. I guess that > if match is not much slower, we should probably not ever use sortval for > ordering. > I suppose it depends on the fact if it still used somewhere in the code. I would also think that always using the complicated sorting is the correct way, but if there are speed sensitive parts that use sortval, then another issue is added: performance. So, deprecating sortval is ok with me if it is possible. Benny |