Re: Lazy load of imports

2009-06-13 Thread Berlin Brown
On Jun 12, 10:31 am, Chouser wrote: > On Thu, Jun 11, 2009 at 8:48 PM, Stephen C. Gilardi wrote: > > > > Do you think there will be any performance hits. > > > I haven't run any tools on it. In looking around the reflection-related code > > in clojure.lang, it looks to me like the performance o

Re: Lazy load of imports

2009-06-12 Thread Chouser
On Thu, Jun 11, 2009 at 8:48 PM, Stephen C. Gilardi wrote: > > > Do you think there will be any performance hits. > > I haven't run any tools on it. In looking around the reflection-related code > in clojure.lang, it looks to me like the performance of new-by-name should > be similar to that of ot

Re: Lazy load of imports

2009-06-11 Thread Stephen C. Gilardi
On Jun 11, 2009, at 5:20 PM, Berlin Brown wrote: Now, that is close, not entirely but close enough. Cool. Do you think there will be any performance hits. I haven't run any tools on it. In looking around the reflection- related code in clojure.lang, it looks to me like the performance of

Re: Lazy load of imports

2009-06-11 Thread Berlin Brown
On Jun 11, 6:51 pm, "Stephen C. Gilardi" wrote: > On Jun 11, 2009, at 2:30 PM, BerlinBrown wrote: > > > I have a Clojure applications with different files, different > > namespaces and I have imports of classes within those files/ > > namespaces. > > I don't think the following is exactly what

Re: Lazy load of imports

2009-06-11 Thread Stephen C. Gilardi
On Jun 11, 2009, at 2:30 PM, BerlinBrown wrote: I have a Clojure applications with different files, different namespaces and I have imports of classes within those files/ namespaces. I don't think the following is exactly what you're asking for, but you can use "clojure.contrib.core/new-by-