Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
d214bb48
Commit
d214bb48
authored
May 20, 2009
by
antirez
Browse files
Aman Gupta changes merged
parent
6d4371d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
TODO
View file @
d214bb48
...
...
@@ -18,7 +18,8 @@ BEFORE REDIS 1.0.0-rc1
AFTER 1.0 stable release
* Consistent hashing implemented in all the client libraries having an user base
* Use partial qsort for SORT + LIMIT. Don't copy the list into a vector when BY argument is constant.
* SORT: Don't copy the list into a vector when BY argument is constant.
* SORT ... STORE keyname. Instead to return the SORTed data set it into key.
* Profiling and optimization in order to limit the CPU usage at minimum
* Write the hash table size of every db in the dump, so that Redis can resize the hash table just one time when loading a big DB.
* Elapsed time in logs for SAVE when saving is going to take more than 2 seconds
...
...
test-redis.tcl
View file @
d214bb48
...
...
@@ -481,11 +481,6 @@ proc main {server port} {
lsort
[
$r
smembers setres
]
}
[
lsort -uniq
"
[
$r
smembers set1
]
[
$r
smembers set2
]
"
]
test
{
SUNIONSTORE with same src and dest
}
{
$r sunionstore set1 set1 set1
$r scard set1
}
{
1000
}
test
{
SINTER against three sets
}
{
$r sadd set3 999
$r sadd set3 995
...
...
@@ -499,11 +494,6 @@ proc main {server port} {
lsort
[
$r
smembers setres
]
}
{
995 999
}
test
{
SINTERSTORE with same src and dest
}
{
$r sinterstore set1 set1 set1
$r scard set1
}
{
1000
}
test
{
SUNION with non existing keys
}
{
lsort
[
$r
sunion nokey1 set1 set2 nokey2
]
}
[
lsort -uniq
"
[
$r
smembers set1
]
[
$r
smembers set2
]
"
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment