Re: Re: DSV replacement with csv

"Roger Binns" <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <013001c55f36$72972d30$3501a8c0@rogersqyvr14d3>
BTW please also don't put "if 0" for code blocks or comment
them out in patches.  They should just be outright removed
if not used.  We can always get them back from CVS.

>> It looks like some of the source lines in BitPim
>> has extra trailing spaces and your patch removes them as
>> well.
> 
> That was "courtesy" of my editor.

I do think they should be removed, but it is best done with a script
rather than mixed in with another patch.  BTW what do you use for
your editor?

> I tried to replace all occurencies of DSV, however only tested for data 
> transfer from phone to bp.

Make a directory named tests then cd into the experiments directory.
Run gentestdata.py ..\tests

That will generate a phonebook.csv in the tests directory (along with
a lot of other stuff).  Then use BitPim to csv import the file.  The file
will be quite large and have many fields so you will get an idea of any
peformance bottlenecks (it should be way faster than DSV).

Roger



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.