Ah, this came in with 1.5: https://dev.clojure.org/jira/browse/CLJ-910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
On Fri, Jul 20, 2018 at 12:38 PM Gary Trakhman <[email protected]> wrote: > > The memfn docstring says it can be type hinted to avoid reflection. Any > reason why it would still be slower then wrapping it in a type hinted > function? > > Neat, I didn't know that! Since each memfn creates a new function, it's > the same thing as writing it out manually, unlike say 'partial', which is a > little more indirect, shares a single function and can hit you with JIT > polymorphism costs. > > On Fri, Jul 20, 2018 at 1:53 AM Didier <[email protected]> wrote: > >> The memfn docstring says it can be type hinted to avoid reflection. Any >> reason why it would still be slower then wrapping it in a type hinted >> function? >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to [email protected] >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> [email protected] >> 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 [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
