Commit graph

962 commits

Author SHA1 Message Date
Tommi Reiman
e60d176a2d Validate after route conflicts 2019-02-28 12:12:28 +02:00
Tommi Reiman
277faf48f5 Server benchmarks 2019-02-28 12:12:28 +02:00
Tommi Reiman
dc2519238a More perf tests 2019-02-28 12:12:28 +02:00
Tommi Reiman
9422cd28c1 create empty path-parameters at creation time, 266ns->251ns (-6%) 2019-02-28 12:12:28 +02:00
Tommi Reiman
950fef88d2 Use exception/fail! in all creation-time exceptions
... to be companioned with a slick error printer
2019-02-28 12:12:28 +02:00
Tommi Reiman
ad92c437e6 More dead code 2019-02-28 12:11:05 +02:00
Tommi Reiman
69550febfa dead code 2019-02-28 12:11:05 +02:00
Tommi Reiman
d68e1b81fb FIx cljs, welcome reitit.exception! 2019-02-28 12:11:05 +02:00
Tommi Reiman
8abca179d0 Test unicode chars 2019-02-28 12:11:05 +02:00
Tommi Reiman
ae1a8f7919 Fail fast with multiple terminators. 2019-02-28 12:11:05 +02:00
Tommi Reiman
29a54a3262 Perf-utils 2019-02-28 12:11:05 +02:00
Tommi Reiman
df38a0de05 Test bracket syntax + fix trie conflicting rules 2019-02-28 12:11:05 +02:00
Tommi Reiman
659aac7fd0 Much faster without transients 2019-02-28 12:11:05 +02:00
Tommi Reiman
81b9bdceef Small improvement
* Sort linear routes secondary with static path length
* Unwrap data-matchers from linear-router
* Simplify StaticMatcher impl
2019-02-28 12:11:05 +02:00
Tommi Reiman
c302f795ab Remove dead code 2019-02-28 12:11:05 +02:00
Tommi Reiman
54d5550fae cljs trie 2019-02-28 12:11:05 +02:00
Tommi Reiman
5b9f90d283 ifs -> switch. maybe faster? 2019-02-28 12:11:05 +02:00
Tommi Reiman
2eb4513447 Initial pure-clojure impl 2019-02-28 12:11:05 +02:00
Tommi Reiman
cecd6cf526 Start working on cljs trie 2019-02-28 12:11:05 +02:00
Tommi Reiman
fbf2786093 disable lein-virigil 2019-02-28 12:11:05 +02:00
Tommi Reiman
907e0b5c97 dead code 2019-02-28 12:11:05 +02:00
Tommi Reiman
ef18a4307e format 2019-02-28 12:11:05 +02:00
Tommi Reiman
c05fe8be27 Update CHANGELOG 2019-02-28 12:11:05 +02:00
Tommi Reiman
c87bc099b0 char-array is faster, re-run tests 2019-02-28 12:10:01 +02:00
Tommi Reiman
86cfacb03c java8 targeg 2019-02-28 12:10:01 +02:00
Tommi Reiman
34d8cb0f57 Test with String path 2019-02-28 12:10:01 +02:00
Tommi Reiman
ff944c455b 30% better perf than segment-router in os-test 2019-02-28 12:10:01 +02:00
Tommi Reiman
1d6cec7148 +20% tps, +30% faster wildcard routing 2019-02-28 12:10:01 +02:00
Tommi Reiman
bf068d22d9 reset compojure indentation 2019-02-28 12:10:01 +02:00
Tommi Reiman
6f902d118a Free from the regex! 2019-02-28 12:10:01 +02:00
Tommi Reiman
8755e19f78 Cleanup 2019-02-28 12:10:01 +02:00
Tommi Reiman
42d6d0c78d Priorize trie based on depth 2019-02-28 12:10:01 +02:00
Tommi Reiman
4c0d2fb285 mega-insert for trie! 2019-02-28 12:10:01 +02:00
Tommi Reiman
8628f0cec6 Remove segment-rouiter code 2019-02-28 12:10:01 +02:00
Tommi Reiman
ce80f83319 :segment-router -> :trie-router 2019-02-28 12:10:01 +02:00
Tommi Reiman
415cd7af89 Test the StaticMultiMatcher - no big difference 2019-02-28 12:10:01 +02:00
Tommi Reiman
94f4ab4e75 SNAPSHOT to avoid reflection 2019-02-28 12:10:01 +02:00
Tommi Reiman
08edbe5b01 . 2019-02-28 12:10:01 +02:00
Tommi Reiman
eaee4ca38d Implement catch-all from trie 2019-02-28 12:10:01 +02:00
Tommi Reiman
fe0ea19e31 Better perf with transient parameters 2019-02-28 12:10:01 +02:00
Tommi Reiman
f2d131a897 wip 2019-02-28 12:10:01 +02:00
Tommi Reiman
25287e0df7 One more time for the... 2019-02-20 09:04:54 +02:00
Tommi Reiman
dcd96c3dae Deeply nested coercion docs 2019-02-20 08:50:34 +02:00
Tommi Reiman
50ae7b3bc0 Even better docs! 2019-02-20 08:45:24 +02:00
Tommi Reiman
319c768b35 Example of deeply-nested spec 2019-02-20 08:28:26 +02:00
Tommi Reiman
325b77c56d Better ring coercion docs 2019-02-20 08:04:03 +02:00
Tommi Reiman
e1db177b6c 0.3.0-SNAPSHOT 2019-02-19 19:53:09 +02:00
Tommi Reiman
b1bef1c1cc Fix #216 2019-02-19 19:40:26 +02:00
Tommi Reiman
bd11b6032d Tune controller changelog 2019-02-19 19:40:13 +02:00
Juho Teperi
1e5fe74c29 Fix indent 2019-02-08 14:47:05 +02:00