01-05-2007, 09:59 AM
Yes, QM should sort slower. QM code is not compiled to native machine code. Also, calling an user-defined function is quite slow.
I tested sorting array of 46425 elements (all single-word, almost all unique). It took 0.725 s in QM. Function __SortVarArrAsc was called 811736 times. Excel sorted faster, although I cannot measure.
I tested sorting array of 46425 elements (all single-word, almost all unique). It took 0.725 s in QM. Function __SortVarArrAsc was called 811736 times. Excel sorted faster, although I cannot measure.