Hey Frank,

Thanks for getting in touch!

With the tag literal support of 1.4+, is that kind of the idiomatic way of 
> the future to structure protocols for serialized clojure data/code? 
>

Sorry, could you clarify what you're asking here - I'm not sure if I follow 
what you mean by "structure protocols"? I'm not familiar with the 
implementation details of the tagged literal support btw, so someone else 
should probably chime in if that's the domain.

When you say that Nippy is much faster than the reader, are there ways to 
> improve on or optimize the reader? 
> (guess the speed improvement is only achieved for true data (?)) 
>

Well again not knowing much about the particular implementation, my general 
inclination would be to say that the reader's performance doesn't seem 
especially bad given all that it's doing and its flexibility. Optimizing it 
for speed at this point is, I'd guess, a low priority. Though I'm curious 
to see what impact if any Datomic will have on Clojure core, since I'm 
assuming they're likely to start butting into some of these performance 
edge-cases eventually.

Naturally, these things are a trade-off. The Java serialization libs are a 
good example of this: each brings its own particular opinion about the 
correct simplicity/flexibility/speed balance. Given that context, it 
probably makes sense to let the reader focus on simplicity+flexibility, and 
to outsource to a lib when you (really+rarely) need the extra speed and 
where you have a knob to choose how much flexibility you're prepared to 
give up.

Not sure what you mean by "true data" btw, so it's possible I've completely 
missed what you're getting at ^^

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to