|
Ran
|
Jobs
1
|
Files
305
|
Run time
36s
|
Badge
README BADGES
|
push
travis-ci
<a href="https://github.com/tarantool/tarantool/commit/<a class=hub.com/tarantool/tarantool/commit/f1ff0b507b039c368cf3288619c5456042774c60">f1ff0b507<a href="https://github.com/tarantool/tarantool/commit/f1ff0b507b039c368cf3288619c5456042774c60">">box: disable sparse optimization in box.tuple.new() The box.tuple.new() used to call luamp_encode_tuple with default LUA serializer config &#39;luaL_msgpack_default&#39;. This routine may consider an array to be excessively sparse when + encode_sparse_ratio &gt; 0 + max(table) &gt; encode_sparse_safe + max(table) &gt; count(table) * encode_sparse_ratio. Sparse optimization save memory via representing excessively sparse tuple as MP_MAP. But Tarantool tuple always must be MP_ARRAY so it is not relevant for box.tuple.new semantics. So it is disabled with encode_sparse_ratio = 0 in a new local serializer config. Closes #3882 (cherry picked from commit </a><a class="double-link" href="https://github.com/tarantool/tarantool/commit/<a class="double-link" href="https://github.com/tarantool/tarantool/commit/1a4d88748727220358c3c0b1408ab91c2cc66d04">1a4d88748</a>">1a4d88748</a><a href="https://github.com/tarantool/tarantool/commit/f1ff0b507b039c368cf3288619c5456042774c60">)
8 of 8 new or added lines in 2 files covered. (100.0%)
41210 of 50113 relevant lines covered (82.23%)
845053.45 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 5 | 15439.5 (TARGET=coverage) | 0 |
82.23 |
Travis Job 15439.5 |