#clojure logs

2008-04-20

08:07rhickeyModius: in biasing for insertion/removal is it not going to be persistent?
10:34jteoprojecteuler is good fun for learning clojure
12:41Modiusrhickey: I probably didn't explain that well. Structurally the same - I meant the functions take lists of removals/additions to be done en masse - it's still functional, and still structurally the same.
13:01rhickeyModius: are the bulk adds/removes for performance or convenience?
13:01Modiusrhickey: I may not have tested this as much as you have - but they are in the vain attempt to cycle out less buckets in bulk-insert cases (performance) - for convenience itself, either can be built out of the other.
13:03rhickeynot sure there's much perf gain to be had given the (hopefully) random distribution of hashes
13:05ModiusIt would mean, for example, in a bulk add the root array (and rootward arrays) are only rebuilt once. The inserts split down the inserts into per-bucket sublists (it has not escaped me that *this* may make it a wash)
17:31abrooks_jteo: re: Project Euler + Clojure -- truly the perfect match. I've been having fun with that pairing as well.