🚀 improve routing behavior

pull/715/head
ReneWerner87 2020-08-06 02:43:58 +02:00
parent 8c4f346a33
commit 582b10a6d4
1 changed files with 1 additions and 0 deletions

View File

@ -156,6 +156,7 @@ func findNextCharsetPosition(search string, charset []byte) int {
return nextPosition
}
// TODO: check performance
// getMatch parses the passed url and tries to match it against the route segments and determine the parameter positions
func (p *routeParser) getMatch(s string, partialCheck bool) ([][2]int, bool) {
lenKeys := len(p.params)