Skip to content

Commit 58998fe

Browse files
committed
Update commands.json files
1 parent bf7b2c2 commit 58998fe

3 files changed

Lines changed: 1733 additions & 275 deletions

File tree

data/commands_redisbloom.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@
623623
"group": "cms"
624624
},
625625
"TOPK.RESERVE": {
626-
"summary": "Initializes a TopK with specified parameters",
626+
"summary": "Initializes a Top-K sketch with specified parameters",
627627
"complexity": "O(1)",
628628
"arguments": [
629629
{
@@ -658,7 +658,7 @@
658658
"group": "topk"
659659
},
660660
"TOPK.ADD": {
661-
"summary": "Increases the count of one or more items by increment",
661+
"summary": "Adds an item to a Top-k sketch. Multiple items can be added at the same time.",
662662
"complexity": "O(n * k) where n is the number of items and k is the depth",
663663
"arguments": [
664664
{
@@ -737,8 +737,8 @@
737737
"group": "topk"
738738
},
739739
"TOPK.LIST": {
740-
"summary": "Return full list of items in Top K list",
741-
"complexity": "O(k) where k is the value of top-k",
740+
"summary": "Return the full list of items in Top-K sketch.",
741+
"complexity": "O(k*log(k)) where k is the value of top-k",
742742
"arguments": [
743743
{
744744
"name": "key",
@@ -798,7 +798,7 @@
798798
},
799799
"TDIGEST.ADD": {
800800
"summary": "Adds one or more observations to a t-digest sketch",
801-
"complexity": "O(N) , where N is the number of samples to add",
801+
"complexity": "O(N), where N is the number of samples to add",
802802
"arguments": [
803803
{
804804
"name": "key",
@@ -889,7 +889,7 @@
889889
},
890890
"TDIGEST.QUANTILE": {
891891
"summary": "Returns, for each input fraction, an estimation of the value (floating point) that is smaller than the given fraction of observations",
892-
"complexity": "O(1)",
892+
"complexity": "O(N) where N is the number of quantiles specified.",
893893
"arguments": [
894894
{
895895
"name": "key",
@@ -943,7 +943,7 @@
943943
},
944944
"TDIGEST.RANK": {
945945
"summary": "Returns, for each input value (floating-point), the estimated rank of the value (the number of observations in the sketch that are smaller than the value + half the number of observations that are equal to the value)",
946-
"complexity": "O(1)",
946+
"complexity": "O(N) where N is the number of values specified.",
947947
"arguments": [
948948
{
949949
"name": "key",
@@ -960,7 +960,7 @@
960960
},
961961
"TDIGEST.REVRANK": {
962962
"summary": "Returns, for each input value (floating-point), the estimated reverse rank of the value (the number of observations in the sketch that are larger than the value + half the number of observations that are equal to the value)",
963-
"complexity": "O(1)",
963+
"complexity": "O(N) where N is the number of values specified.",
964964
"arguments": [
965965
{
966966
"name": "key",
@@ -977,7 +977,7 @@
977977
},
978978
"TDIGEST.BYRANK": {
979979
"summary": "Returns, for each input rank, an estimation of the value (floating-point) with that rank",
980-
"complexity": "O(1)",
980+
"complexity": "O(N) where N is the number of ranks specified",
981981
"arguments": [
982982
{
983983
"name": "key",
@@ -994,7 +994,7 @@
994994
},
995995
"TDIGEST.BYREVRANK": {
996996
"summary": "Returns, for each input reverse rank, an estimation of the value (floating-point) with that reverse rank",
997-
"complexity": "O(1)",
997+
"complexity": "O(N) where N is the number of reverse ranks specified.",
998998
"arguments": [
999999
{
10001000
"name": "key",

0 commit comments

Comments
 (0)