Results 1 to 7 of 7

Thread: Speed comparison: C++ versus Python, aka *.p vs *.pyc, in housekeeping tasks?

  1. #1
    Axes grinder- Dongle #99
    Join Date
    Jul 2003
    Location
    Seattle
    Posts
    14,726

    Question Speed comparison: C++ versus Python, aka *.p vs *.pyc, in housekeeping tasks?

    I am entirely cognizant that this will vary widely and wildly, but how much of a speed increase might one expect in Layout of a plugin that is doing mostly NON mathematical (i.e. not a shader or render-y plugin) , "housekeeping" type tasks, like creating nulls, parenting, etc, in C++ versus Python?

    I guess perhaps another way of putting this is how much overhead does Python impose on the software?
    They only call it 'class warfare' when we fight back.
    Praise to Buddha! #resist
    Chard's Credo-"Documentation is PART of the Interface"
    Film the cops. Always FILM THE COPS. Use this app.

  2. #2
    Python interacts with the sdk via a wrapper. So it's at least one level removed from LightWave. Doubt anyone has actual metrics but a C plugin should always be faster. For small tasks the speed difference is probably negligible.
    My opinions and comments do not represent those of my employer.
    www.ernestpchan.com
    www.zazzle.com/gopuggo

  3. #3
    Axes grinder- Dongle #99
    Join Date
    Jul 2003
    Location
    Seattle
    Posts
    14,726
    I was just using RR_TranslateAverage, great tool, but there's a bit of a pause when you are adjusting a couple hundred objects.
    They only call it 'class warfare' when we fight back.
    Praise to Buddha! #resist
    Chard's Credo-"Documentation is PART of the Interface"
    Film the cops. Always FILM THE COPS. Use this app.

  4. #4
    Layout can be slow editing a lot of objects at once in general.
    My opinions and comments do not represent those of my employer.
    www.ernestpchan.com
    www.zazzle.com/gopuggo

  5. #5
    Axes grinder- Dongle #99
    Join Date
    Jul 2003
    Location
    Seattle
    Posts
    14,726
    It's all bookkeeping stuff: once everything's linked up, it's reasonable.
    They only call it 'class warfare' when we fight back.
    Praise to Buddha! #resist
    Chard's Credo-"Documentation is PART of the Interface"
    Film the cops. Always FILM THE COPS. Use this app.

  6. #6
    RAM-Studio
    WS - Dual Xeon E5-2698v4/128GB/Win10x64/x TitanX(M) + 2x GTX 1080Ti + GTX 1080
    My LWM Video Car Modeling Tutorial

  7. #7
    Axes grinder- Dongle #99
    Join Date
    Jul 2003
    Location
    Seattle
    Posts
    14,726
    Hah!
    They only call it 'class warfare' when we fight back.
    Praise to Buddha! #resist
    Chard's Credo-"Documentation is PART of the Interface"
    Film the cops. Always FILM THE COPS. Use this app.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •