On Jul 1, 2010, at 9:21 AM, Martin DeMello wrote:
On Thu, Jul 1, 2010 at 6:42 PM, Martin DeMello <martindeme...@gmail.com
> wrote:
I haven't benchmarked yet, but it's called frequently enough that
it's
probably worth making it efficient. (This is in code that converts a
dictionary to a trie)
Actually, it just struck me that the main reason I'm trying so hard to
optimise this is that my app has to read in a list of strings and
create a trie every time it starts up. Is there any way to dump a trie
to disk in some marshalled format? (I could just dump to yaml, but
that would probably not be any quicker to read in and parse)
If the perf of your (de)serialization isn't a big issue, then pr and
read will get you home.
- Chas
--
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
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en