From: Vadim Zeitlin Date: Mon, 11 Jan 1999 13:36:02 +0000 (+0000) Subject: added the missing sentence end... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d1b5756b71267e8c5b123dc868e38034e57ff0d5?ds=inline added the missing sentence end... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/array.tex b/docs/latex/wx/array.tex index 2196f5d307..f4d712e9ab 100644 --- a/docs/latex/wx/array.tex +++ b/docs/latex/wx/array.tex @@ -50,8 +50,10 @@ $O(N)$ for the usual arrays but the \helpref{Add()}{wxarrayadd} method is slower: it is $O(log(N))$ instead of constant time (neglecting time spent in memory allocation routine). However, in a usual situation elements are added to an array much less often than searched inside it, so wxSortedArray may lead to -huge performance improvements compared to wxArray. As wxArray this array can not -be used +huge performance improvements compared to wxArray. Finally, it should be +noticed that, as wxArray, wxSortedArray can not be used to store anything of +sizeof() larger than max(sizeof(long), sizeof(void *)) - an assertion failure +will be raised from the constructor otherwise. wxObjArray class treats its elements like "objects". It may delete them when they are removed from the array (invoking the correct destructor) and copies