Guillem Jover
4832f033aa
TT#69200 Switch from C-style for loops to range ones
...
Change-Id: Ia65ed1ee29dd57339749123d99835262884db689
(cherry picked from commit 2b13bb6724 )
5 years ago
Guillem Jover
14babdb442
TT#69200 Switch to an early return in arrayeq() to reduce nesting level
...
Change-Id: I04ea1a4c9007ba1ebb6c0ecfbd2b716a53a7475f
(cherry picked from commit 64d4ec32ad )
5 years ago
Guillem Jover
bbc662cd6a
TT#69200 Rewrite mapeq() to not need an intermediate hash
...
Change-Id: I7b9fd87954c6583126993d6c0624f2f84faf5d16
(cherry picked from commit 22a0d69263 )
5 years ago
Guillem Jover
215d628308
TT#69200 Refactor getting the size of a hash
...
Change-Id: I1b2e401d009a9712e059a68e6d62b193acb98596
(cherry picked from commit d167d55a90 )
5 years ago
Guillem Jover
214c67ec42
TT#69200 Refactor getting last array index into a new sub
...
Change-Id: I41ab18e181d7dc6efa87c8b1f68779431487ca61
(cherry picked from commit 9800b99040 )
5 years ago
Guillem Jover
86e684ab60
TT#69200 Do not use indirect method syntax
...
This has weird semantics and is generally frowned upon.
Change-Id: Ib1d43f13b935959508ce44b85999b615f7850b27
(cherry picked from commit 456d120d0e )
5 years ago
Guillem Jover
9c115e0266
TT#69200 Fix mapeq() to match correctly according to caseinsensitive argument
...
Change-Id: I747614927df0a1b0b947c95049b9007e11570bd6
(cherry picked from commit bcbe99c74d )
5 years ago
Guillem Jover
117d346b76
TT#69200 Reimplement itemcount() based on grep()
...
This is somewhat faster:
Rate for_case grep_case for grep
for_case 53476/s -- -32% -42% -50%
grep_case 78125/s 46% -- -15% -27%
for 91743/s 72% 17% -- -14%
grep 106383/s 99% 36% 16% --
Change-Id: I7b44f8f3b2146971f7b38e0224295ab7d301c615
(cherry picked from commit 5d38bd26f7 )
5 years ago
Guillem Jover
1de487b529
TT#69200 Remove unused variable in arrayeq()
...
Change-Id: I14e16592d83448db56de4498fc1a3b2f25aee88e
(cherry picked from commit 117202701c )
5 years ago
Guillem Jover
ce7cf88cfb
TT#69200 Reimplement removeduplicates() based of List::Util's uniq
...
This adds a behavior change, reflected in the unit test changes, by
always returning the lowercased versions of the array elements when
case insensitiveness is enabled. This should be fine, given that we
do not care from the callers PoV, and the result might have changed
depending on the order of the inputs.
Change-Id: I44896183b566e921cc1287f106fb4bb9332acb97
(cherry picked from commit 9485368290 )
5 years ago
Guillem Jover
ba79942aec
TT#69200 Reimplement contains() based on List::Util's any()
...
Change-Id: Ic3d8eb5a6bdcb6b6021706c9450f06b65db4e688
(cherry picked from commit 54704e0837 )
5 years ago
Guillem Jover
182c899565
TT#69200 Use reverse in reversearray() instead of an ad-hoc implementation
...
Change-Id: I805e1e7e06b57774275353d1457ed37e5c78a13e
(cherry picked from commit fdc64d61eb )
5 years ago
Guillem Jover
6819a251d8
TT#69200 Pass the entire list to push in mergearrays()
...
We do not need to add one item at a time, push accepts a list as an
argument.
Change-Id: I30d81f941c1ce91cb2ed90662cbd9e9daf6fa09f
(cherry picked from commit 0991288e50 )
5 years ago
Guillem Jover
bee151585a
TT#53701 Remove executable bit from perl module files
...
Change-Id: I8598dc0ce9382b7b31c946e8f2864fa54c9a92d2
7 years ago
Rene Krenn
8a09b9ab48
TT#37115 normalize line endings
...
Change-Id: Icac176ba667d5fc613654b13a458babb39181f64
8 years ago
Rene Krenn
52d66ca0de
MT#18663 MT#20893 row bulk processing framework WIP #5
...
+setting to drop duplicate setoptionitems in
Feature_Define.cfg
+adjust Feature_Define.cfg threads vs block size
settings to arrange with a low sqlite busy_timeout
+Subscriber_Define.cfg importer
+resolve garbage collector problems with
log4perl
+refactoring to conform with perl module
lib/folder structure for installation
-runs again
Change-Id: I1821cc0085086684c3c1415be4c262453509045a
10 years ago