You'll only become faster looking at the data you truly need.
Nokogir will create a full ast. THere are event based XML parsers in
some languages like Java or libxml vs expat (forgot) written in C

https://stackoverflow.com/questions/4036659/what-are-fast-xml-parsers-for-ruby
=> SAX was one - but don't have experience with it.

depending on how huge the files are you can also try splitting it in the
middle and use multiple cores if you can live with some errors.

Also think about where they come from (ssd vs hard disk).

Marc Weber
Im Tannhoernle 4/1
D-78052 Villingen-Schwenningen
Germany

Mobil: 017660032282

Steuernummer: 22483/ 29259
Finanzamt Villingen-Schwenningen
DE254021080

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

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

Raspunde prin e-mail lui