[RFC] store inventory in tab-separated file
Dmitry Vasiliev
dima at hlabs.spb.ru
Mon Jan 29 08:05:46 GMT 2007
Alexander Belchenko пишет:
> Jari Aalto пишет:
>> Alexander Belchenko <bialix at ukr.net> writes:
>>
>>> I wrote draft implementation of new serializer format that use tab-separated
>>> text instead of XML. John Meinel often says that our weakness point is
>>> inventory. So I make some experiment to rewrote our serializer.
I like the idea and even thought about it some time ago. I guess
record-based format is also may give some performance benefits.
>> Just to comment the separator character:
>>
>> * TAB is not the best choice, because it's invisible and easily get's
>> corrupted with space
>>
>> Perhaps just plain space, colon, semicolon or any other
>> standard-visible character?
>
> This file is not intended to be editable by user.
> So I say 'no'. TAB is deliberated choice.
But for CSV files parsing you can use csv builtin module which can be
easy to use and faster.
--
Dmitry Vasiliev (dima at hlabs.spb.ru)
http://hlabs.spb.ru
More information about the bazaar
mailing list