deftype doesn't define IEquiv, you have to do it yourself. The defrecord IEquiv implementation is OK - would definitely take a patch to make it more efficient.
David On Sun, Dec 7, 2014 at 8:51 AM, Răzvan Rotaru <[email protected]> wrote: > Hi, > > Is there a performance difference when testing for equality between deftype > and defrecord (in Clojurescript I mean)? > > What is better suited for large compound structures, when I care more about > equality speed than change and access? > > Cheers, > Razvan > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
