Commit Graph

11 Commits

Author SHA1 Message Date
Adrian Setyadi 4f721a42ea Add fallthrough and benchmark 2019-09-04 18:50:59 +07:00
Adrian Setyadi 32ba640d75 Refactor cleanPath switch cases 2019-09-04 09:09:05 +07:00
田欧 8fc8ce0472 small enhance for cleanPath (#1469)
from httprouter patch: https://github.com/julienschmidt/httprouter/pull/243
2018-08-10 20:50:23 +08:00
田欧 1f59bad84b add an edge case from httprouter (#1407) 2018-06-23 11:06:27 +08:00
田欧 a8fa424ae5 update comment (#1057) 2017-08-16 11:55:50 +08:00
田欧 df67c64479
fix cleanPath spell (#969) 2017-07-04 10:10:28 +08:00
Javier Provecho Fernandez 80942e67a8 docs(license): add julienschmidt/httprouter license URL 2017-06-27 22:58:49 +02:00
Javier Provecho Fernandez 3b8150c83c Revert "unify license (#942)"
This reverts commit 53799774f4.
2017-06-27 22:54:42 +02:00
田欧 53799774f4 unify license (#942) 2017-06-12 04:01:09 -05:00
Manu Mtz-Almeida 835f66fdc9 404 not found performance improvements
benchmark            old ns/op     new ns/op     delta
Benchmark404         737           249           -66.21%
Benchmark404Many     2330          454           -80.52%

benchmark            old allocs     new allocs     delta
Benchmark404         3              0              -100.00%
Benchmark404Many     10             0              -100.00%

benchmark            old bytes     new bytes     delta
Benchmark404         115           68            -40.87%
Benchmark404Many     235           57            -75.74%
2015-05-30 14:45:13 +02:00
Manu Mtz-Almeida 2915fa0ffe Zero allocation router, first commit 2015-03-31 21:39:06 +02:00