Closed fselcukcan closed 10 years ago
Or vectors for same memory efficiency? I have recently knew vectors are more efficient, I think when enumarated indexed hashtables compared to vectors.
No, neither. In my defense, this is a problem of cl-dbi (And possibly the underlying database drivers). I would write a filter to turn the output of queries into a vector of hash tables, but it would make it slower, not faster, since cl-dbi would still be using lists of lists.
I need a postgres driver in lisp. I use postmodern but I think because it reruns kinds of lists the memory increases when I query my web app with apache benchmark heavily -c 40 .n 1000 for some number of times. Does Crane capable of returning hash tables for more efficiency?