Guillem Jover
b03a0bf2d4
TT#69200 Rerwite seteq() based off setcontains()
...
Change-Id: I8f342223d92586e7127ff1e51155fe9cb9c51f62
(cherry picked from commit 24b954f4fd )
4 years ago
Guillem Jover
c718cd53eb
TT#69200 Use none() instead of comparin $mode with each value
...
Change-Id: Ib13f0ff01e9665feabb78aac08c14e5276c08cf7
(cherry picked from commit c5522cdc8b )
4 years ago
Guillem Jover
8fb0dbfe65
TT#69200 Fix coding style
...
Change-Id: I4f5d0893199f26126c50f8c50b43592fe5d6d3aa
(cherry picked from commit f5921964d3 )
4 years ago
Guillem Jover
2f2137d364
TT#69200 Reduce nesting levels in array_to_map()
...
Switch to early next iterations, and fold two consecutive ifs into one.
Change-Id: I2184a190dc1dd7cc303b52ece39a23deb28abb2c
(cherry picked from commit a551ce2246 )
4 years ago
Guillem Jover
7a3537e6c1
TT#69200 Switch from C-style for loops to range ones
...
Change-Id: Ia65ed1ee29dd57339749123d99835262884db689
(cherry picked from commit 2b13bb6724 )
4 years ago
Guillem Jover
06f6b9ce68
TT#69200 Switch to an early return in arrayeq() to reduce nesting level
...
Change-Id: I04ea1a4c9007ba1ebb6c0ecfbd2b716a53a7475f
(cherry picked from commit 64d4ec32ad )
4 years ago
Guillem Jover
896d933f51
TT#69200 Rewrite mapeq() to not need an intermediate hash
...
Change-Id: I7b9fd87954c6583126993d6c0624f2f84faf5d16
(cherry picked from commit 22a0d69263 )
4 years ago
Guillem Jover
b7cb6a1362
TT#69200 Refactor getting the size of a hash
...
Change-Id: I1b2e401d009a9712e059a68e6d62b193acb98596
(cherry picked from commit d167d55a90 )
4 years ago
Guillem Jover
7cbe2f2867
TT#69200 Refactor getting last array index into a new sub
...
Change-Id: I41ab18e181d7dc6efa87c8b1f68779431487ca61
(cherry picked from commit 9800b99040 )
4 years ago
Guillem Jover
30d10503e8
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 )
4 years ago
Guillem Jover
84555d7c81
TT#69200 Fix mapeq() to match correctly according to caseinsensitive argument
...
Change-Id: I747614927df0a1b0b947c95049b9007e11570bd6
(cherry picked from commit bcbe99c74d )
4 years ago
Guillem Jover
da808b4299
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 )
4 years ago
Guillem Jover
2dc0f2b00e
TT#69200 Remove unused variable in arrayeq()
...
Change-Id: I14e16592d83448db56de4498fc1a3b2f25aee88e
(cherry picked from commit 117202701c )
4 years ago
Guillem Jover
4b7aa09f60
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 )
4 years ago
Guillem Jover
6a65cfb3c2
TT#69200 Reimplement contains() based on List::Util's any()
...
Change-Id: Ic3d8eb5a6bdcb6b6021706c9450f06b65db4e688
(cherry picked from commit 54704e0837 )
4 years ago
Guillem Jover
e5d02c6a35
TT#69200 Use reverse in reversearray() instead of an ad-hoc implementation
...
Change-Id: I805e1e7e06b57774275353d1457ed37e5c78a13e
(cherry picked from commit fdc64d61eb )
4 years ago
Guillem Jover
d1acdf2620
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 )
4 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