setAttr seems to be a tiny bit faster:
http://pastebin.com/9NYYQ8BX
Results:

time for xform, poly: 0:00:00.962889

time for xform, surface: 0:00:00.965725

time for setAttr, poly: 0:00:00.735970

time for setAttr, surface: 0:00:00.736905
note: my test could be flawed big time


On Thu, Apr 11, 2013 at 11:35 AM, Mat <[email protected]> wrote:

> Does anyone know which combination is fastest for translation?
>
> Polygon with xform
> Surface with xform
> Polygon with setattr
> Surface with setattr
>
> Thanks
>
> Mat
>
> --
> 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 post to this group, send email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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 post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to