This is a 7 year old thread.

On Sun, Nov 19, 2017, 1:05 PM damon shelton <[email protected]> wrote:

> Yes it is expected that pymel is slower as most of the work is wrapping
> cmds and Mel. So most code is evaluated double.
>
> On Sat, Nov 18, 2017 at 12:08 AM 'mtherrell' via Python Programming for
> Autodesk Maya <[email protected]> wrote:
>
>> wow.. ok its 2017.
>> here is what i think about pymel:
>>
>> PyMel rant: Pymel allows for more concise, less terse (efficient yet 
>> legible) code. It allows faster turn around
>> time on more complex problem solving by a majority of people, (with the 
>> exception of a few clerical savants out
>> there who have wrote-memorized the entirety of mel). It gives standardized 
>> OOP "dot" notation access,
>> simultaneously, to both the mel commands layer and API via its well 
>> organized, well conformed methods and attributes
>> belonging to PyNodes. This reduces having to remember or research the large 
>> variety of argument structure and
>> command names that have accumulated in both mel and the Maya API over the 
>> years. (too bad those were not designed
>> that way to begin with, and that stuck with.. ok remember that for the next 
>> big tool).
>>
>> Pymel is not a toy, and is used for serious studio pipeline by big boys and 
>> girls. It does have an irrelevant
>> trade-off in speed vs. cmds, (some folks can't see past that unfortunately, 
>> particularly the clerical savants)..
>> nevertheless, PyMel can often be written to be faster than its cmds 
>> counterpart when using the API access that it
>> possesses. Ultimately, the eval speed of Pymel vs cmds is a moot point, 
>> because it is more than adequate, even at its
>> slowest, for its targeted use-cases, added to the time saved in 
>> code-comprehension by new comers to the pipeline,
>> and iteration time improving or inventing new pipeline. O.K. rant over.
>>
>>
>> On Saturday, October 2, 2010 at 8:08:55 AM UTC-7, breeder wrote:
>>>
>>> Hi
>>> I did some test with maya.cmds as pymel , and result is that pymel is
>>> slower.
>>> For simple:
>>> for i in xrange():setAttr
>>> it is two times slower.
>>> For expression i was testing it was 4-5 times slower that maya.cmds.
>>> In my test i tried both "pymel.core.cmds" and PyNode method.
>>>
>>> Is this "normal" thing for pymel to be slower that maya.cmds?
>>>
>>> Thanks
>>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/python_inside_maya/d6809362-bdf7-4e36-ae08-295bda5bc8bb%40googlegroups.com
>> <https://groups.google.com/d/msgid/python_inside_maya/d6809362-bdf7-4e36-ae08-295bda5bc8bb%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/CAM9RXo%2BEHY0RV5whw0X4%3DGSco6JAJ%2Bu53dJsoLx_oJh_dDTygQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/python_inside_maya/CAM9RXo%2BEHY0RV5whw0X4%3DGSco6JAJ%2Bu53dJsoLx_oJh_dDTygQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2gJ4RXpD_Q%2BP7uuF5yA6S9FDWve-Eg_duXfDDfLP-VYQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to