4 ms·
Thanks, that makes sense. I'd expect you could make the same heavy use of hashtables in either, though I suspect it isn't obvious to lean on setf so much if ne
by taeric 5y ago
Thanks, that makes sense.
I'd expect you could make the same heavy use of hashtables in either, though I suspect it isn't obvious to lean on setf so much if new to CL? That, or if you are insisting on immutable structures?
I confess I assumed that alists are probably more competitive in speed for many collections than makes sense.
- jpe90 5y agoWell, for my project I am using CLOS in CL where I used hash tables in Clojure. But yeah, if I went for hash tables, it would be getfs and setfs to mutate the table, or I saw there are immutable operations for hash tables in CL as well. It just takes a little more code and cognitive load to work with.