Class Loader Issue - Using Clojure for Annotation Processing

2014-12-12 Thread Frankie Sardo
Hi all, I'd like to use Clojure for processing Java annotations at compile time. (Particularly useful for Android) https://github.com/frankiesardo/icepick/blob/clojure/src/icepick/core.clj I'm extending javax.annotation.processing.AbstractProcessor, I can create the generated class, I can test

Re: Class Loader Issue - Using Clojure for Annotation Processing

2014-12-28 Thread Frankie Sardo
Apologies for resurrecting the thread but I wanted to add a link to a minimalistic example that reproduces the issue, if anybody comes across it: https://github.com/frankiesardo/annotation-processing On Friday, December 12, 2014 7:46:07 PM UTC, Frankie Sardo wrote: > > Hi all, > I'

Linked Hash Map/Set

2014-04-14 Thread Frankie Sardo
I'm on a mission to implement an ordered map and set structure for Clojure. Much like LinkedHashMap for Java but as a persistent data structure. The idea is that instead of saving a simple [k v] MapEntry we can save [k v left-node-key right-node-key] plus a global head-node-key to walk through t

Re: Linked Hash Map/Set

2014-04-15 Thread Frankie Sardo
ng transient data structure in place. >> These are a bit trickier to implement, so if I were you I would focus on >> getting the persistent version correct and as fast as you can before >> worrying about a transient version. Either that, or do not even both >> creating a

Re: Linked Hash Map/Set

2014-04-16 Thread Frankie Sardo
For anybody interested, I manage to improve performance up to ~2x slower than standard hash-map and pushed it to clojars. https://github.com/frankiesardo/linked linked-set is still a bit slow so I'll keep investigating on it. On Tuesday, April 15, 2014 2:31:14 PM UTC+2, Frankie Sardo