Re: [ANN] proxy-plus: Faster and more usable replacement for "proxy"

2020-01-14 Thread Brent Millare
I skimmed the code, I don't really understand how it makes it faster over proxy. Is it the generated ASM is better? What's the in-a-nutshell description of how it works? On Monday, January 13, 2020 at 1:28:46 PM UTC-5, Nathan Marz wrote: > > No differences in behavior except for API being like r

Re: Clojurists Together call for proposals (4 projects $9,000 each)

2020-01-14 Thread Daniel Compton
Hi folks Applications for this close tomorrow. If you work on a Clojure open source project that is important to the community (or a subset of the community) we'd love to fund you. We haven't had many applications for this quarter yet (though we also consider projects that applied over the last 3

Re: [ANN] proxy-plus: Faster and more usable replacement for "proxy"

2020-01-14 Thread Nathan Marz
The speedup comes from proxy+ directly overriding methods with the provided implementation, while Clojure's proxy has additional indirection. For example, if you do (proxy [Object] [] (toString [] "hello")), the bytecode for toString is: public java.lang.String toString(); 0 aload_0 [t

interp2 for Clojure

2020-01-14 Thread Charles Harvey III
Greetings. A current project I am working on needs to run a Bilinear Interpolation. R and Python (SciPy) have functions for this: interp2. I think this is just a fancy name for particular matrix multiplication. But I'm not really sure. Can I cobble this together in core.matrix? Incanter? Neandert

Re: [ANN] proxy-plus: Faster and more usable replacement for "proxy"

2020-01-14 Thread Brent Millare
Thanks this is wonderful! Nice work On Tuesday, January 14, 2020 at 11:58:17 AM UTC-5, Nathan Marz wrote: > > The speedup comes from proxy+ directly overriding methods with the > provided implementation, while Clojure's proxy has additional indirection. > For example, if you do (proxy [Object] [

Re: interp2 for Clojure

2020-01-14 Thread Chris Nuernberger
Hey Charles, Maybe check out the apache commons-math3 interpolators: https://commons.apache.org/proper/commons-math/javadocs/api-3.6/org/apache/commons/math3/analysis/interpolation/package-summary.html On Tue, Jan 14, 2020 at 11:04 AM Charles Harvey III < charlesnhar...@gmail.com> wrote: > Greet

interp2 for Clojure

2020-01-14 Thread Tomasz Sulej
Check out my fastmath library: https://generateme.github.io/fastmath/fastmath.interpolation.html -- 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 modera

Re: interp2 for Clojure

2020-01-14 Thread Charles Harvey III
These are both fantastic. It has been 25 years since I had a serious math class (no Stats either - Set Theory, Category Theory), so this has taken me a few afternoons to wrap my head around. Spline? Cubic? Bicubic? RBF? Shephard? And that's just interpolation. Its weird that the Commons Math do