clj-commons / claypoole

Claypoole: Threadpool tools for Clojure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reflection on every .take from a queue

mjwillson opened this issue · comments

Somewhat minor but these all look like low-hanging fruit. The .take in particular looks like a reflection hit on every item pulled from a queue which isn't ideal:

Reflection warning, com/climate/claypoole/impl.clj:223:5 - reference to field getCorePoolSize can't be resolved.
Reflection warning, com/climate/claypoole/impl.clj:226:5 - reference to field getMaximumPoolSize can't be resolved.
Reflection warning, com/climate/claypoole/impl.clj:241:15 - reference to field take can't be resolved.
Reflection warning, com/climate/claypoole/impl.clj:254:5 - call to method add can't be resolved (target class is unknown).