If there is no one-size fits all solution for your use case, it might
become idiomatic to use a protocol or some other polymorphism. One could
imagine a version of clojure that has protocols for every core function :).

Can you ever have too many cakes to eat them, too?

On Monday, May 13, 2013, Meikel Brandmeyer (kotarak) wrote:

> Hi,
>
> Am Montag, 13. Mai 2013 16:56:11 UTC+2 schrieb tbc++:
>>
>> Let's not forget that allocations on the JVM are super, super cheap. In
>> the order of something like 10 cycles. So don't worry so much about
>> throw-away objects.
>>
>>
> seq involves realization of the first step of the sequence which can be
> arbitrary expensive. allocation < allocation + initialization + realization
>
> Meikel
>
>
> --
> --
> 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<javascript:_e({}, 'cvml', 
> '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 <javascript:_e({}, 'cvml',
> 'clojure%2bunsubscr...@googlegroups.com');>
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com <javascript:_e({}, 'cvml',
> 'clojure%2bunsubscr...@googlegroups.com');>.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to