Hi there ! I'm working on a skin weight IO tool (or similar), and i was wondering what is the fastest way of reading/writing the datas, mainly between configParser, json, xml and raw text. >From my researches, it seems that json is the best take (even better if ujson can be installed), but that sounds surprising, as i thought xml was precisely done to handle huge datasets (and xml is also what maya uses to export weights, btw). And finally, i'd like to know if writing raw text, without using any parser, could be faster ? I don't really need to access things line by line, so maybe this could be a fastest solution. But if i go for raw text, then i don't really know how the memory will be handled (for instance, if i have to read a 100 000lines file, does it mean that the entire document needs to be loaded into memory, resulting in some memory leaks or similar issues ? If i use a parser, the memory management will come for free i guess ?) Any help will be more than welcome, i'm not familiar with those kind of problems !
Many thanks =] -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/5594d364-ec5f-4d31-9134-25f1cf284ed0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
