From 25e107484efd32dc1deb6dddc90bce3d9d9d7026 Mon Sep 17 00:00:00 2001 From: c9s Date: Fri, 23 May 2014 22:46:35 +0800 Subject: [PATCH] Add function prefix description --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3306ef2..7b27b65 100644 --- a/README.md +++ b/README.md @@ -121,8 +121,19 @@ r3_tree_free(n); ``` +Function prefix mapping +----------------------- -Benchmark +|Function Prefix |Description | +|------------------|------------------------------------------------------------------------------------| +|`r3_tree_*` |Tree related operations, which require a node to operate a whole tree | +|`r3_node_*` |Single node related operations, which do not go through its own children or parent. | +|`r3_edge_*` |Edge related operations | +|`r3_route_*` |Route related operations, which are needed only when the tree is defined by routes | +|`match_entry_*` |Match entry related operations, a `match_entry` is just like the request parameters | + + +Performance ----------------------- The routing benchmark from stevegraham/rails' PR : @@ -176,6 +187,7 @@ digraph g { Use case in PHP ----------------------- +**not implemented yet** ```php // Here is the paths data structure