On Tue, Feb 2, 2016 at 6:15 PM, Herwig Hochleitner <hhochleit...@gmail.com>
wrote:
>
> When dealing with ground tags generically (like data.xml does), i.e. the
> mapped-to structures add no information over the ground tags, I'd say it
> would be still pretty easy to create a reader, which uses optimized
> structures for content-only, or attribute-only tags and the like. Even
> common things like space-separated (class-) lists in attribute tags, ...
> Dynamic runtimes can also optimize for object shapes "automagically". For
> reference, google optimization tips for v8
> Of course, none of this will decide for you that ordering of your child
> tags is irrelevant and that it can be used to facilitate O(1) hash-lookup.
> Thus it _is_ unfortunate that there exists no accepted standard for
> encoding arbitrary associative structures in XML, because it pushes you
> towards app-specific representations.
>

Out-of-band schemas/assumptions or automagic inference are incidental
complexity to deal with the fact that XML cannot directly represent the
concepts that algorithms want to deal in. This is the point I was making
originally.

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to