From 79145c9a1f6219ff3f7221593bfaffbf0203e4f9 Mon Sep 17 00:00:00 2001 From: Petar Dambovaliev Date: Mon, 25 Dec 2023 20:25:36 +0100 Subject: [PATCH] Update README.md --- gonzales/README.md | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/gonzales/README.md b/gonzales/README.md index 436344c..4d029d1 100755 --- a/gonzales/README.md +++ b/gonzales/README.md @@ -20,14 +20,6 @@ test regex ... bench: 33513 ns/iter (+/- 3388) test route-recognizer ... bench: 13622 ns/iter (+/- 1177) ``` -It costs `1ns` per character of input for matching. -That leads to most routes being matched or not within `10ns` to `20ns`. -It supports case insensitive matching without additional runtime costs. -It also supports path arguments extraction. - -Under the hood, it uses a [DFA](https://en.wikipedia.org/wiki/Deterministic_finite_automaton) with a few extra perks. -Many thanks to [BurntSushi](https://github.com/BurntSushi) for his work in this field and his great articles such as [this](https://blog.burntsushi.net/transducers/) . - ```rust let route = vec!["/hello/{user_id}", "/helloworld"]; let router = RouterBuilder::new() @@ -52,4 +44,4 @@ Many thanks to [BurntSushi](https://github.com/BurntSushi) for his work in this The router also supports multi-segment matching with `*`, only at the end of a route. `/hello/world/*` will match every incoming request path that starts with `/hello/world/`. -arriba arriba andale andale!!! \ No newline at end of file +arriba arriba andale andale!!!