You wrote:
>
>Hi!
>
>I get a collection of (COM) objects:
>    tobj = oie.prepartableau(    #it's a JScript array of objects, returned 
>by a JScript function via COM
>I convert (translate? transtype?) this collection to LIST:
>    lobj = list(tobj)
>But it's (very) slow(*). I tried  [i for i in tobj] ; I tried with iter ; 
>with 'for' ; etc.  All is slow.
>(*) slow:  0.7 seconds for len=1000
>
>Who know a way for fast get the collection like LIST?

You think 700 microseconds for a COM transaction is slow?  Perhaps it is your 
expectations that need adjusting.
--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to