I want to have it in O(1). That's why I use a tree map in the first
place.

On Jan 31, 9:15 am, Sean Devlin <[email protected]> wrote:
> If you can live with an O(n) operation, take/drop-with will do the
> job.
>
> Sean
>
> On Jan 30, 6:59 pm, Rowdy Rednose <[email protected]> wrote:
>
> > How would I do something like these 3 TreeMap operations with
> > clojure's sorted-map?
>
> > The goal is to narrow down a map to include only keys with a given
> > prefix.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
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