On Oct 9, 12:29 pm, "Mark H." <[EMAIL PROTECTED]> wrote:
> a mapping.  However, if you find yourself doing this a lot, you might
> want to think about a more Clojure-like idiom that doesn't require
> destructive updates and minimizes consing for local changes (e.g., a
> quadtree).

Interesting idea, but typical operations will be iterating along the
cells in a given row or column, so a 2d doubly-linked list would
probably work better than any sort of space-partitioning tree. But
then I lose easy random access to a cell. Vector(-of-vectors) and {[x
y] => cell} do seem like my best bets here.

martin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to