Commit graph

1982 commits

Author SHA1 Message Date
Tommi Reiman
5d7670de60 Welcome segment-router! 2017-11-24 09:01:05 +02:00
Tommi Reiman
102fd35f04 Functional segemnt-router 2017-11-24 07:34:14 +02:00
Tommi Reiman
ec35c2ebbf Polish segment-router 2017-11-23 16:01:40 +02:00
Tommi Reiman
636c7ecd24 Clean up internals 2017-11-23 15:52:59 +02:00
Tommi Reiman
8019cebdc7 Segment-router to rule 'em all 2017-11-20 15:17:38 +02:00
Tommi Reiman
607e34c671 Add :type meta to Routers 2017-11-20 15:17:25 +02:00
Tommi Reiman
8d99163aef
Merge pull request #48 from metosin/meta->data
BREAKING: route :meta => :data
2017-11-18 13:34:51 +02:00
Tommi Reiman
2dd91d91d6 BREAKING: route :meta => :data 2017-11-18 12:47:16 +02:00
Tommi Reiman
a246bf4a9e Final(?) tweeks 2017-11-13 07:56:04 +02:00
Tommi Reiman
1648b2d1b1 #reitit at slack 2017-11-13 07:25:33 +02:00
Tommi Reiman
ebbbf429ee Rewrite performance.md 2017-11-13 07:25:22 +02:00
Tommi Reiman
9c8d25c2cd Polish route tests 2017-11-13 07:25:03 +02:00
Tommi Reiman
127c071fc8 Update docs & perf tests 2017-11-12 22:01:53 +02:00
Tommi Reiman
e8ee224160 Fix tests 2017-11-12 16:00:32 +02:00
Tommi Reiman
9434dd08e7 Don't test for nil handler
* it's already verified by the ring-router
2017-11-12 15:43:27 +02:00
Tommi Reiman
63848838d5 respond with nil if async ring route doesn't match
* relates to #45
2017-11-11 22:12:06 +02:00
Tommi Reiman
4ea0dc2600 Fix typos & unfinished sentences 2017-11-11 17:50:27 +02:00
Tommi Reiman
01c97729bd
Merge pull request #46 from metosin/gen-wrap
Small changes
2017-11-11 15:37:46 +00:00
Tommi Reiman
44867fbcf5 :gen -> :gem-wrap in middleware
* as preparation for support of interceptors
2017-11-11 17:30:17 +02:00
Tommi Reiman
95b796e94c
Merge pull request #44 from metosin/trie
Prefix-tree router
2017-11-11 15:27:26 +00:00
Tommi Reiman
5390086d7f Fix docs 2017-11-11 16:52:32 +02:00
Tommi Reiman
8bde6aefa2 Test that different routers work correctly 2017-11-11 16:46:43 +02:00
Tommi Reiman
1f27021c29 Tries have a human-readable representation 2017-11-11 16:39:11 +02:00
Tommi Reiman
2f6bfb33f8 Use linear-router always if there are conflicting routes 2017-11-11 16:38:16 +02:00
Tommi Reiman
de993abf62 Move tests 2017-11-10 18:12:00 +00:00
Tommi Reiman
5d7786936c prefix-tree-router! 2017-11-10 18:12:00 +00:00
Tommi Reiman
0d63aa1d43 Cleanup arguments 2017-11-10 18:12:00 +00:00
Tommi Reiman
c378d0b5af fix payloads 2017-11-10 18:12:00 +00:00
Tommi Reiman
32a1be1466 Return also route-data 2017-11-10 18:12:00 +00:00
Tommi Reiman
e12bfeabf1 Flattened matching, 1.2ms -> 0.8ms!!! 2017-11-10 18:12:00 +00:00
Tommi Reiman
eeea39ca83 Re-implement using reified protocols
* tree can be optimzied on the fly!
2017-11-10 18:12:00 +00:00
Tommi Reiman
07861f43f9 prefix-tree impl WIP
* opensensors route match, 2.3µs => 1.3µs
* static routes looked first
* fixes pedestal #532
2017-11-10 18:12:00 +00:00
Tommi Reiman
39bc633576 j.u.HashMap fails with nil 2017-11-10 18:12:00 +00:00
Tommi Reiman
16116d3e58 quickbenck over rest-routes 2017-11-10 18:11:59 +00:00
Tommi Reiman
4163c7c367 Test also composure 2017-11-10 18:11:59 +00:00
Tommi Reiman
7cb66ec413 Documenting Ring + 404 (Fixes #43) 2017-11-09 15:59:24 +00:00
Tommi Reiman
35aa09b6a3
Update README.md 2017-11-01 19:06:19 +02:00
Tommi Reiman
eb908ea2b1 Update deps & README 2017-11-01 19:03:41 +02:00
Tommi Reiman
4706c7101c Tune perf doc 2017-11-01 18:57:09 +02:00
Tommi Reiman
67a40d9194
Merge pull request #42 from metosin/module-split-doc-update
Promote separate bundles
2017-11-01 18:56:37 +02:00
Tommi Reiman
2d7ba58424 add link to perf 2017-11-01 10:17:57 +02:00
Tommi Reiman
812ecbb993 fix typo in doc 2017-11-01 09:36:06 +02:00
Tommi Reiman
eb1ac12107 Promote separate bundles 2017-11-01 09:29:16 +02:00
Tommi Reiman
1ccd93101c Perf page 2017-11-01 09:28:28 +02:00
Tommi Reiman
48305a8c40 Update also markdown docs with latest version 2017-11-01 09:24:11 +02:00
Tommi Reiman
5ad8f646b2
Update README.md 2017-10-31 10:28:48 +02:00
Tommi Reiman
9aefe5dea6
Update README.md
sample fits into mobile screen
2017-10-31 10:27:51 +02:00
Tommi Reiman
095dfb6724
Merge pull request #40 from metosin/modules
module split + better docs
2017-10-31 10:25:53 +02:00
Tommi Reiman
2ae8fd27a8 Replace the version in place 2017-10-30 21:39:35 +02:00
Tommi Reiman
c3820239c5 Walk the docs, fix links, maybe better texts 2017-10-30 08:46:20 +02:00