in reply to Re: Faster file read, text search and replace
in thread Faster file read, text search and replace
While I agree about the poorly designed system, reading whole XMLs into memory is more often than not poor design as well. Whether the file is huge (already) or not, if you do not have to, do not load the whole file into a huge maze of interconnected objects, but rather process it in chunks. XML::Twig or XML::Rules make that fairly easy to do.
Jenda
Enoch was right!
Enjoy the last years of Rome.
|
---|