docs/Writerside/topics/array_list.h.md

changeset 1694
a2757c6427cc
parent 1626
a2565f9fc6de
--- a/docs/Writerside/topics/array_list.h.md	Wed Dec 31 15:25:30 2025 +0100
+++ b/docs/Writerside/topics/array_list.h.md	Wed Dec 31 16:01:08 2025 +0100
@@ -133,7 +133,7 @@
 ```
 
 The functions `cx_array_remove()` and `cx_array_remove_array()` remove one or more elements from the array by shifting the remaining elements by the number of removed elements.
-The functions `cx_array_remove_fast()` and `cx_array_remove_array_fast()` on the other hand copy elements from the end of the array into the gap to fill the removed elements.
+The functions `cx_array_remove_fast()` and `cx_array_remove_array_fast()` on the other hand, copy elements from the end of the array into the gap to fill the removed elements.
 Therefore, if the order of the elements does not matter, you can use the fast versions of these functions for better performance.
 
 > When you specify an `index` that is out-of-bounds or choose a number `n` of elements that would overflow the array,
@@ -157,9 +157,9 @@
 With simple `cx_compare_func` functions, arrays can always be sorted with standard `qsort()`.
 Sorting arrays with `cx_compare_func2` functions, however, need special support by either `qsort_r()` (GNU) or `qsort_s()` (ISO).
 However, both functions come with their own challenges.
-On the one hand, `qsort_r()` is not ISO standard, and on the other hand `qsort_s()` is only optional and has an incorrect parameter order in the Microsoft C library.
+On the one hand, `qsort_r()` is not ISO standard, and on the other hand, `qsort_s()` is only optional and has an incorrect parameter order in the Microsoft C library.
 
-To provide a platform independent solution, UCX detects if `qsort_r()` is available and implements a fallback when it is not.
+To provide a platform-independent solution, UCX detects if `qsort_r()` is available and implements a fallback when it is not.
 You can safely use `cx_array_qsort_c()` everywhere wehere you would use `qsort_r()`.
 
 The functions `cx_array_sort()` and `cx_array_sort_c()` are for convenient work with arrays declared with `CX_ARRAY()`.

mercurial