LCS -> STRALGO LCS.

STRALGO should be a container for mostly read-only string
algorithms in Redis. The algorithms should have two main
characteristics:

1. They should be non trivial to compute, and often not part of
programming language standard libraries.
2. They should be fast enough that it is a good idea to have optimized C
implementations.

Next thing I would love to see? A small strings compression algorithm.
This commit is contained in:
antirez
2020-04-24 16:49:27 +02:00
parent 57a0c9c98d
commit 8a7f255cd0
4 changed files with 28 additions and 15 deletions

View File

@@ -1006,7 +1006,7 @@ struct redisCommand redisCommandTable[] = {
"admin no-script no-slowlog ok-loading ok-stale",
0,NULL,0,0,0,0,0,0},
{"lcs",lcsCommand,-4,
{"stralgo",stralgoCommand,-2,
"write use-memory @string",
0,lcsGetKeys,0,0,0,0,0,0}
};