Rene Krenn
d785be99f5
MT#60189 support multi-insert stmts for lnp_numbers
...
Change-Id: I2baf3ace876c4d869ec40668a61c9899f5c7ba85
11 months ago
Guillem Jover
520e67ed67
TT#69200 Rewrite setcontains() to use a hash instead of contains()
...
This reduces the complexity of the algorithm, at the expense of more
code, which makes it faster:
Rate old new
old 57803/s -- -23%
new 74906/s 30% --
Change-Id: Ic230cddceb269e4c452f3713e75be16569908458
6 years ago
Guillem Jover
24b954f4fd
TT#69200 Rerwite seteq() based off setcontains()
...
Change-Id: I8f342223d92586e7127ff1e51155fe9cb9c51f62
6 years ago
Guillem Jover
c5522cdc8b
TT#69200 Use none() instead of comparin $mode with each value
...
Change-Id: Ib13f0ff01e9665feabb78aac08c14e5276c08cf7
6 years ago
Guillem Jover
f5921964d3
TT#69200 Fix coding style
...
Change-Id: I4f5d0893199f26126c50f8c50b43592fe5d6d3aa
6 years ago
Guillem Jover
a551ce2246
TT#69200 Reduce nesting levels in array_to_map()
...
Switch to early next iterations, and fold two consecutive ifs into one.
Change-Id: I2184a190dc1dd7cc303b52ece39a23deb28abb2c
6 years ago
Guillem Jover
2b13bb6724
TT#69200 Switch from C-style for loops to range ones
...
Change-Id: Ia65ed1ee29dd57339749123d99835262884db689
6 years ago
Guillem Jover
64d4ec32ad
TT#69200 Switch to an early return in arrayeq() to reduce nesting level
...
Change-Id: I04ea1a4c9007ba1ebb6c0ecfbd2b716a53a7475f
6 years ago
Guillem Jover
22a0d69263
TT#69200 Rewrite mapeq() to not need an intermediate hash
...
Change-Id: I7b9fd87954c6583126993d6c0624f2f84faf5d16
6 years ago
Guillem Jover
d167d55a90
TT#69200 Refactor getting the size of a hash
...
Change-Id: I1b2e401d009a9712e059a68e6d62b193acb98596
6 years ago
Guillem Jover
9800b99040
TT#69200 Refactor getting last array index into a new sub
...
Change-Id: I41ab18e181d7dc6efa87c8b1f68779431487ca61
6 years ago
Guillem Jover
456d120d0e
TT#69200 Do not use indirect method syntax
...
This has weird semantics and is generally frowned upon.
Change-Id: Ib1d43f13b935959508ce44b85999b615f7850b27
6 years ago
Guillem Jover
bcbe99c74d
TT#69200 Fix mapeq() to match correctly according to caseinsensitive argument
...
Change-Id: I747614927df0a1b0b947c95049b9007e11570bd6
6 years ago
Guillem Jover
5d38bd26f7
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
6 years ago
Guillem Jover
117202701c
TT#69200 Remove unused variable in arrayeq()
...
Change-Id: I14e16592d83448db56de4498fc1a3b2f25aee88e
6 years ago
Guillem Jover
9485368290
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
6 years ago
Guillem Jover
54704e0837
TT#69200 Reimplement contains() based on List::Util's any()
...
Change-Id: Ic3d8eb5a6bdcb6b6021706c9450f06b65db4e688
6 years ago
Guillem Jover
fdc64d61eb
TT#69200 Use reverse in reversearray() instead of an ad-hoc implementation
...
Change-Id: I805e1e7e06b57774275353d1457ed37e5c78a13e
6 years ago
Guillem Jover
0991288e50
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
6 years ago
Guillem Jover
bee151585a
TT#53701 Remove executable bit from perl module files
...
Change-Id: I8598dc0ce9382b7b31c946e8f2864fa54c9a92d2
6 years ago
Rene Krenn
8a09b9ab48
TT#37115 normalize line endings
...
Change-Id: Icac176ba667d5fc613654b13a458babb39181f64
7 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
9 years ago