Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

XML

Name: GvR 2009-11-04 13:28

So I used xml.dom.minidom.parse on a 18MB XML file. The damn thing ate 900MB of RAM. I sort of expected this kind of disaster, but 50 fucking times more memory?

Now, I know jack shit about the in-memory representation this thing uses, but holy fucking shit, you could have an individual struct with 10 pointers for each character and it'd still be smaller (this is on 32 bit btw).

Name: Anonymous 2009-11-04 15:12

The problem is XML is an enterprise faggot concept that only enterprise faggots would use. Therefore, the parses are written by enterprise faggots, who can't write effecient code. If a real programmer wrote an XML parses, it would be aewsome, but unfortunately real programmers never use XML.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List