Commit Graph

54 Commits

Author SHA1 Message Date
andrey 96c22e1184 move std function 2026-03-20 16:31:30 +03:00
peri4 ed13838237 merged AI doc, some new pages 2026-03-12 14:46:57 +03:00
peri4 79007e7b4e PIString::arg() now ignore non-suitable %.
PIVector and PIDeque now use std::stable_sort
2024-12-07 12:57:48 +03:00
peri4 dff4f2b3a0 add http_client library, using libcurl
take out common http entities to http_common dir
2024-11-23 17:54:22 +03:00
peri4 bf9ad65ff0 take out "asize" from vector/dequeue to picontainers.h->calcNewSize()
minAlloc and maxPoTAlloc now can be override from CMake by PIP_CONTAINERS_MIN_ALLOC and PIP_CONTAINERS_MAX_POT_ALLOC variables
2024-11-21 20:15:18 +03:00
peri4 4aa596b179 last commit error 2024-11-21 00:18:57 +03:00
peri4 9ab46e4afc version 4.4.1
PIVector and PIDeque now growth to 64 MiB with PoT, then increments size by 64 MiB
in case of large containers it significantly save memory
2024-11-21 00:10:14 +03:00
peri4 000ce2a54d PICout improvement:
* renamed private members for more clear code
 * registerExternalBufferID() method to obtain unique ID for withExternalBuffer()
 * PICoutManipulators::PICoutStdStream enum for select stream (stdout or stderr)
 * Constructors now accept optional stream
 * piCerr and piCerrObj macros

PIDir::temporary() moved to "mkdtemp"

PILog:
 * now 4 levels
 * you can set max level
 * Error writes to piCerr
2024-09-16 16:06:07 +03:00
andrey b14d30108a Optimization removeAll and removeWhere in PIVector and PIDeque (#180)
Reviewed-on: #180
Co-authored-by: Andrey Bychkov <andrey@signalmodelling.ru>
Co-committed-by: Andrey Bychkov <andrey@signalmodelling.ru>
2024-03-13 10:43:02 +03:00
andrey 3a6b3a4064 добавил const для части контейнеров и explicit для конструкторов 2023-07-03 19:10:36 +03:00
peri4 c2b8a8d6da code format 2022-12-14 14:13:52 +03:00
Бычков Андрей db3de9904a pimap some doc 2022-08-30 18:15:13 +03:00
Бычков Андрей 1bc9f5ed19 PIVector and PIDeque takeRange 2022-08-25 17:35:49 +03:00
Бычков Андрей 8370351ff3 add doc to previous commit 2022-08-24 17:33:00 +03:00
Бычков Андрей 952020a3e2 PIVector and PIDeque: split and splitBySize 2022-08-24 17:28:48 +03:00
Бычков Андрей b35ec1f30a PIVector and PIDeque some code clean 2022-08-23 16:47:33 +03:00
Бычков Андрей 4635e9ba4f insert optimize 2022-08-22 17:47:45 +03:00
Бычков Андрей 49e553c551 PIDeque optimize and bugfix 2022-08-22 15:59:25 +03:00
peri4 67561636e5 return move-assignment dequeue optimization 2022-08-12 23:53:22 +03:00
Бычков Андрей 00f7a24d54 new caontainers functions
atWhere()
lastAtWhere()
contains(v)
filter(), map(), reduce(), forEach() indexed and reverse variants
fix PIDeque reverse for
fix insert with move of complex type potential segfault
2022-08-12 18:14:55 +03:00
Бычков Андрей adef5b6781 PIMap some doc 2022-08-09 15:54:53 +03:00
Бычков Андрей 724a2dffcf picout and clean 2022-08-08 16:44:37 +03:00
peri4 8551499a5e PICout refactoring, new SHSTKMacros 2022-08-07 22:07:26 +03:00
Бычков Андрей e1b89aeca8 PIByteArray begin end indexOf map reduce forEach
PIVector and PIDeque small fixes
2022-07-25 10:07:48 +03:00
Бычков Андрей 0116387fe3 PIDeque fix ssize_t
fix uninitialized variables
fix PIDeque prepend with std::initializer_list
2022-07-22 16:31:40 +03:00
Andrey 7325e12e30 PIString doc 2022-04-27 15:49:30 +03:00
peri4 5072d8c915 Merge branch 'master' of https://git.shs.tools/SHS/pip 2022-04-25 21:44:30 +03:00
peri4 5f8c04a78e containers minimum elements, windows memory leaks 2022-04-25 21:43:57 +03:00
andrey c2e44dc3ba doc fix 2022-04-23 13:59:06 +03:00
andrey 833d0333d7 doc fixes 2022-04-22 22:28:43 +03:00
Andrey cb4df7dc42 fix PIVector and PIDeque typedefs 2022-04-22 18:44:58 +03:00
Andrey 99a4546775 ещё правки для PIVector и PIDeque iterator и убрал лишние строки 2022-04-22 17:54:08 +03:00
Andrey 87105cff21 ещё правки документации для PIVector и PIDeque 2022-04-22 12:12:26 +03:00
Andrey a489daa475 уменьшил количество строк 2022-04-22 11:51:19 +03:00
peri4 c476a06e8c containers doc brush 2022-04-21 22:58:24 +03:00
Andrey 93b881da1b PIDeque doc, fixes in PIVector and PIString 2022-04-21 18:25:44 +03:00
Andrey 8c6db321cf PIDeque doc 2022-04-18 19:10:01 +03:00
Andrey d22af96bea PIDeque optimization 2022-04-14 18:00:33 +03:00
Andrey bb45a60d94 Iterators ssize_t 2022-04-14 17:43:55 +03:00
andrey 77e0423375 fix pievaluator and PIDeque sort 2022-04-13 23:29:40 +03:00
peri4 4f2218619c version, debug printf 2022-04-13 12:31:11 +03:00
Andrey e4e16764f3 PIP_DEBUG, PIVector sort and doc 2022-04-13 11:22:27 +03:00
peri4 00830958df doc ru, printf() before assert in containers 2022-04-12 23:17:05 +03:00
peri4 54b5372356 doxygen @ tags replaced to \ 2022-03-14 21:19:31 +03:00
andrey 0d119502a8 PIDeque functions same as PIVector
code brush
fix indexOf and entries with start<0
2021-09-09 18:01:57 +03:00
andrey 76ed60edf3 code brush 2021-09-07 15:39:44 +03:00
peri4 39a3a23a24 PIByteArray compare operators 2021-08-12 21:41:22 +03:00
andrey 25def958a1 rename doc macros 2021-08-04 16:31:32 +03:00
peri4 511bedf425 ReshapeOrder for reshape() methods
Last PIVector features ported to PIDeque
2021-07-16 17:19:06 +03:00
peri4 f03781f898 PIDeque important performance fix 2021-06-11 19:10:13 +03:00