Re:Common Lisp, Clojure and Evolution
by lukev on Sunday February 27, 2011 @03:57PM
(#2268934)
Records also provide better performance than hash tables for their defined keys.
You can think of them as a Java class that has certain fields (it's named fields) and also implements the Map interface for additional expandability. Records provide "accessor" methods for their named fields that provide bare-metal JVM performance.
You can think of them as a Java class that has certain fields (it's named fields) and also implements the Map interface for additional expandability. Records provide "accessor" methods for their named fields that provide bare-metal JVM performance.