[CLJ-1334] Improve performance of the bean function with caching Created: 30/Jan/14 Updated: 31/Jan/14 Resolved: 31/Jan/14
|Affects Version/s:||Release 1.5|
The bean function is a very useful Java interop feature that provides a read-only view of a Java Bean as a Clojure map.
(def ^:private ^java.lang.ClassValue bean-class-value
|Comment by Jozef Wagner [ 30/Jan/14 9:25 AM ]|
|Comment by Alex Miller [ 31/Jan/14 8:45 AM ]|
Curious if anyone is using this inside production code? I use it at the REPL when exploring Java stuff sometimes but have never used it inside my actual code.
|Comment by Stuart Halloway [ 31/Jan/14 12:28 PM ]|
This is a cool idea, but doesn't need to be in core. How about https://github.com/clojure/java.data ?
|Comment by Ron Pressler [ 31/Jan/14 12:48 PM ]|
This might be good for java.data, and I'm certainly not saying it should be in the core except for the fact that it already is. This is a proposal for a performance improvement of a core function.