EdGarrity / Clojush

Sandbox for playing with Clojush
Eclipse Public License 1.0
0 stars 0 forks source link

Investigate Transients #5

Open EdGarrity opened 5 years ago

EdGarrity commented 5 years ago

Investigate if the use of Transients would improve performance.

See https://clojuredocs.org/clojure.core/transient for information on Transients.

EdGarrity commented 5 years ago

Running Genesis generated the following error message:

ClassCastException clojush.genesis.genesis.BrokerageAccountState cannot be cast to clojure.lang.IEditableCollection clojure.lang.Agent$Action.run (Agent.java:163) clojure.core/binding-conveyor-fn/fn--4676 (core.clj:1949) java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1149)