8 Commits

Author SHA1 Message Date
Victor Oliva
39f9a743a3
upgrade dependencies, migrate to vitest (#303) 2023-07-29 20:56:51 +02:00
Victor Oliva
fb7004a066
Improve performance of partitionByKey with a big number of elements (#232)
* Improve performance of partitionByKey with a big number of elements
* Improve performance of partitionByKey by not serialising the keys
* partition by key to emit deltas instead of the resulting keys
* update tests for partitionByKey
* update tests for combineKeys
* getGroupedObservable: close outer subscription once the inner stream is found
* add performance tests to partitionByKey
* make tests more predictable
* adjust performance threshold

Co-authored-by: Josep M Sobrepere <jm.sobrepere@gmail.com>
2022-03-30 11:36:14 +02:00
Josep M Sobrepere
80b28b7349 fix: utils/combineKeys emit empty Map when needed 2021-10-06 19:44:42 +02:00
Víctor Oliva
903c929682 feat(utils/combineKeys): emit set with changed keys 2021-05-31 14:42:15 +02:00
Josep M Sobrepere
80a9fd67ee chore: remove tsdx and upgrade dependencies 2021-05-31 13:51:59 +02:00
Josep M Sobrepere
d3fb725015 fix(utils): combineKeys allow for reentrant keys 2021-05-10 21:23:32 +02:00
Josep M Sobrepere
d653623d1f test(utils): add tests to combineKeys 2021-03-31 00:10:15 +02:00
Víctor Oliva
35f46c96b8 Rename mergeActiveKeys for combineKeys, add tests and jsdocs 2021-03-31 00:10:15 +02:00