Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 cooling their heels in the Monastery: (6)
As of 2014-09-23 04:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (210 votes), past polls