docs/src/modules.md

branch
feature/array
changeset 359
9f86bc73f96b
parent 340
8acf182f6424
child 370
07ac32b385e4
     1.1 --- a/docs/src/modules.md	Thu Oct 03 11:16:12 2019 +0200
     1.2 +++ b/docs/src/modules.md	Sat Oct 05 16:57:06 2019 +0200
     1.3 @@ -50,9 +50,10 @@
     1.4  The UCX Array is an implementation of a dynamic array with automatic
     1.5  reallocation. The array structure contains a capacity, the current size,
     1.6  the size of each element, the raw pointer to the memory area and an allocator.
     1.7 -Unlike an [UcxList](#list), the array structure is typically passed by value,
     1.8 -unless it is subjected to change. Arrays are in most cases much faster than
     1.9 -linked list.
    1.10 +Arrays are in most cases much faster than linked list.
    1.11 +One can decide, whether to create a new array on the heap with `ucx_array_new()`
    1.12 +or to save one indirection by initializing a `UcxArray` structure on the stack
    1.13 +with `ucx_array_init()`.
    1.14  
    1.15  ### Remove duplicates from an array of strings
    1.16  

mercurial