kataras / kataras/iris

[FEATURE REQUEST]If there are more registered routes, it will be slower。

Open
#1,734 1 comment 0 reactions 1 assignee Claimed by @kataras View on GitHub
💡type:idea
Dominant language
Go
Stars
25.6k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**

code:https://github.com/kataras/iris/blob/master/core/router/api_builder.go#L89

Why do you not use map when you register a route to check whether the route exists?If there are more registered routes, it will be slower。

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.