[python-win32] Slow convert collection to list (search a fastway)

Michel Claveau mc at mclaveau.com
Thu Feb 12 08:58:35 CET 2009


Re!

> You think 700 microseconds for a COM transaction is slow?  Perhaps it is 
> your expectations that need adjusting.

When I get an array of data (for example, numbers), the (same) list 
conversion (len=1000) take 0.07 s
But with array of object, it is ten times more slow (0.7 s).
In my appli, I have table with 100 rows and 10 cols. But, if I go up 1000 
rows and 20 cols, it will become a long way to obtain satisfaction...

If there are no fast way for translate collection.objects to list of 
objects, I will change a big part of the architecture of my appli.

Thanks for your answer, and zorry for my rotten english.

@-salutations
-- 
Michel Claveau






More information about the python-win32 mailing list