Using the new versions of null-string and read-field-aux that you gave
me, in my real application, the execution time went from 160 seconds
to 150 seconds.  As for using macros, I wrote one for the example
program, but I realized that it wouldn't work in my application,
because I sometimes use (apply parse-buffer buf field-vector).

Thanks for the assistance,

Vincent.

On Mar 22, 4:33 pm, Vincent Foley <vfo...@gmail.com> wrote:
> How would I do that?  Make a macro that expands into a map literal
> with the appropriate calls to .get, .getShort and .getInt?
>
> On Mar 22, 4:20 pm, Christophe Grand <christo...@cgrand.net> wrote:
>
> > Vincent Foley a écrit :> The code is available at this 
> > URL:http://code.google.com/p/bwhf/
> > > (look at the hu.becliza.andras.bwhf.control.[BinRepParser,
> > > BinReplayUnpacker] files)
>
> > > It is definitely not as dynamic, which helps quite a lot, but I wanted
> > > to have something high level and declarative.
>
> > If you want to go high-level and declarative you can certainly implement
> > this as a macro which will compile your declaration into fast static code.
>
> > --
> > Professional:http://cgrand.net/(fr)
> > On Clojure:http://clj-me.blogspot.com/(en)
>
>
--~--~---------~--~----~------------~-------~--~----~
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 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to