Homec4science

restore old qsort() based code and add preprocessor directives to switch

Authored by Axel Kohlmeyer <akohlmey@gmail.com> on Jun 17 2017, 00:17.

Description

restore old qsort() based code and add preprocessor directives to switch

-DLMP_USE_LIBC_QSORT will use qsort() from libc to sort (requires static/global variables).
-DLMP_USE_MERGE_SORT will use a plain merge sort. slightly slower for expensive comparisons.
-DLMP_USE_HYBRID_SORT will use hybrid merge sort. faster than merge sort (no static/global variables)

Details

Committed
Axel Kohlmeyer <akohlmey@gmail.com>Jun 17 2017, 00:17
Pushed
jungeOct 19 2017, 09:53
Parents
rLAMMPS2a6f026853e6: mergesort performance improvements
Branches
Unknown
Tags
Unknown

Event Timeline

Axel Kohlmeyer <akohlmey@gmail.com> committed rLAMMPSc1b0b1b3f9d7: restore old qsort() based code and add preprocessor directives to switch (authored by Axel Kohlmeyer <akohlmey@gmail.com>).Jun 17 2017, 00:17