From ee48d2771f45a210a25cc354d0dbff5f69821f8b Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Sun, 3 May 2020 20:34:50 -0700 Subject: removed the day's confusion. added debug and release mode to makefile --- include/libn/macro/qsort.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/libn/macro/qsort.h') diff --git a/include/libn/macro/qsort.h b/include/libn/macro/qsort.h index cc38bca..2ff964a 100644 --- a/include/libn/macro/qsort.h +++ b/include/libn/macro/qsort.h @@ -1,12 +1,15 @@ #pragma once /* + * Nicholas Noll (2020) * Straight implementation of Sedgewick's median qsort + * #ref: "Implementing Quicksort Programs" (1978) * * @LEN: name of parameter length * @QLESS: name of function that computes array[i] < array[j] * should return a boolean * @QSWAP: name of function that swaps array[i] <-> array[j] + * this could swap multiple arrays * * NOTE: This can perform on strided arrays. * Make sure to use parens liberally to ensure hygeine! -- cgit v1.2.1