Skip to content

Commit

Permalink
Move complexity to commands.json.
Browse files Browse the repository at this point in the history
  • Loading branch information
soveran committed Mar 20, 2012
1 parent 61926bb commit 441c1c5
Show file tree
Hide file tree
Showing 115 changed files with 107 additions and 542 deletions.
16 changes: 4 additions & 12 deletions README.md
Expand Up @@ -49,20 +49,12 @@ backticks. For example: <code>`INCR`</code>.
example: `@multi-bulk-reply`. These keywords will get expanded and
auto-linked to relevant parts of the documentation.

There should be at least three predefined sections: time complexity,
description and return value. These sections are marked using magic
keywords, too:

@complexity

O(n), where N is the number of keys in the database.


@description
There should be at least two predefined sections: description and
return value. The return value section is marked using the @return
keyword:

Returns all keys matching the given pattern.


@return

@multi-bulk-reply: all the keys that matched the pattern.
Expand All @@ -82,7 +74,7 @@ Once you're done, the very least you should do is make sure that all
files compile properly. You can do this by running Rake inside your
working directory.

$ rake
$ rake parse

Additionally, if you have [Aspell](http://aspell.net/) installed, you
can spell check the documentation:
Expand Down

0 comments on commit 441c1c5

Please sign in to comment.