I took "significant structural similarity" to primarily mean at least maps
with similar keys, which Transit caching will cover.


On Sat, Aug 2, 2014 at 1:49 PM, David Nolen <dnolen.li...@gmail.com> wrote:

> In Transit, maps keys, symbols, keywords, and tagged value tags are
> subject to caching.
>
> Fressian's caching strategy is far more flexible from what I
> understand. That said transit-cljs is 20-30X faster than
> cljs.reader/read-string on the benchmarks I've tried across various
> browser and command line JS environments.
>
> David
>
> On Sat, Aug 2, 2014 at 2:26 PM, Sean Grove <s...@bushi.do> wrote:
> > I thought transit's caching only applied to map keys? Pretty unclear on
> what
> > Fressian's can do
> >
> >
> > On Sat, Aug 2, 2014 at 8:23 AM, Alex Miller <a...@puredanger.com> wrote:
> >>
> >> Cool stuff Peter. It would be interesting to compare performance with
> >> transit-cljs https://github.com/cognitect/transit-cljs. Transit has
> the same
> >> caching and extensibility benefits of Fressian but leverages the very
> fast
> >> JavaScript parser capabilities built into the browser, so is likely
> faster.
> >>
> >> Alex
> >>
> >> On Friday, August 1, 2014 3:33:58 PM UTC-5, pe...@bendyworks.com wrote:
> >> > I'm happy to announce a port of Fressian to ClojureScript.
> >> >
> >> > The public api mirrors data.fressian api with a few exceptions.
>  Records
> >> > don't have a generic writer but you can easily append the handlers
> with the
> >> > write-record function.  There is no inheritance lookup for types so
> every
> >> > different type will need it's own handler.  The tagged helper
> functions
> >> > (tagged-object?, tag, tagged-value) are not included.
> >> >
> >> > I see the use case for Fressian in ClojureScript streaming large
> amounts
> >> > of data that has significant structural similarity.  Fressian caching
> >> > capabilities allow large values to be represented as a single integer
> in the
> >> > bytestream.
> >> >
> >> > This is my first large ClojureScript library so any suggestions for
> >> > improvements are welcome.
> >> >
> >> > Thanks to Bendyworks for letting me develop this during my work hours.
> >> >
> >> > Clojars Link: https://clojars.org/longshi
> >> > Repo: https://github.com/spinningtopsofdoom/longshi
> >> >
> >> > Peter Schuck
> >>
> >> --
> >> Note that posts from new members are moderated - please be patient with
> >> your first post.
> >> ---
> >> You received this message because you are subscribed to the Google
> Groups
> >> "ClojureScript" group.
> >> To unsubscribe from this group and stop receiving emails from it, send
> an
> >> email to clojurescript+unsubscr...@googlegroups.com.
> >> To post to this group, send email to clojurescript@googlegroups.com.
> >> Visit this group at http://groups.google.com/group/clojurescript.
> >
> >
> > --
> > Note that posts from new members are moderated - please be patient with
> your
> > first post.
> > ---
> > You received this message because you are subscribed to the Google Groups
> > "ClojureScript" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to clojurescript+unsubscr...@googlegroups.com.
> > To post to this group, send email to clojurescript@googlegroups.com.
> > Visit this group at http://groups.google.com/group/clojurescript.
>
> --
> Note that posts from new members are moderated - please be patient with
> your first post.
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "ClojureScript" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/clojurescript/xhdrGunEXPE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> clojurescript+unsubscr...@googlegroups.com.
> To post to this group, send email to clojurescript@googlegroups.com.
> Visit this group at http://groups.google.com/group/clojurescript.
>

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to