Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Nesting below emptiness and/or inverting a hash.

by bibliophile (Parson)
on Jan 23, 2007 at 15:19 UTC ( #596107=note: print w/ replies, xml ) Need Help??


in reply to Nesting below emptiness and/or inverting a hash.

I may be (in fact, probably am) missing something significant, but... couldn't you dump the parsed XML data into a database (with some kind of context info (eg - a field indicating a tag's parent)), and then rebuild the data structure afterwards?


Comment on Re: Nesting below emptiness and/or inverting a hash.
Re^2: Nesting below emptiness and/or inverting a hash.
by Moron (Curate) on Jan 25, 2007 at 10:34 UTC
    That would be prohibitively slow. The existing version in development can parse a gigabyte in less than a minute. I don't want to slow it down with database calls otherwise I am defeated from the outset.

    -M

    Free your mind

      Ah. Yes, that would be the "something significant" that I missed.

      :-D

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://596107]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2015-07-06 10:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (71 votes), past polls