funcool

A channel for discussing and asking questions about Funcool libraries https://github.com/funcool/
niwinz 2016-08-27T08:13:44.000135Z

[ann] bide - a simple routing library for clojurescript - https://github.com/funcool/bide (`1.0.0-SNAPSHOT`)

niwinz 2016-08-27T08:47:15.000137Z

There some initial benchmarks:

$ node out/benchmarks.js
op=resolve lib=bidi ops=10000
"Elapsed time: 108.318159 msecs"
op=resolve lib=bide ops=10000
"Elapsed time: 53.742332 msecs"
op=match lib=bidi ops=10000
"Elapsed time: 937.541619 msecs"
op=match lib=bide ops=10000
"Elapsed time: 106.668479 msecs"

niwinz 2016-08-27T08:47:48.000138Z

bide is practically 9 times faster in match operation and double of fast in resolve than bidi \o/

rm 2016-08-27T17:44:26.000140Z

niwinz there is https://github.com/niquola/route-map , looks somewhat similar

niwinz 2016-08-27T21:14:02.000142Z

thanks @rm, I know about it, but IMHO it has the same problem that the rest of routing libraries that I know. Too much complexity for something that should be very simple 😄