5 Commits

Author SHA1 Message Date
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
d3fb725015 fix(utils): combineKeys allow for reentrant keys 2021-05-10 21:23:32 +02:00
Víctor Oliva
35f46c96b8 Rename mergeActiveKeys for combineKeys, add tests and jsdocs 2021-03-31 00:10:15 +02:00