From d1b5756b71267e8c5b123dc868e38034e57ff0d5 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 11 Jan 1999 13:36:02 +0000 Subject: [PATCH] added the missing sentence end... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/array.tex | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.45.2