Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: rrc1962 on April 16, 2017, 01:57:58 PM

Title: Which is faster?
Post by: rrc1962 on April 16, 2017, 01:57:58 PM
Lets say you have a macro that collects a lot of data from the operator screen.  Would execution time be faster using mcProfileGetString() or mcCntlGetPountVar()?

If mcCntlGetPountVar() is faster, I can load the pound vars with screen data in another macro where execution time isn't so critical.  If there is no noticeable difference, then it's not worth dealing with.  I'm not having a problem, just wondering which way would be faster.  Faster is better.

Thanks
Title: Re: Which is faster?
Post by: DazTheGas on April 16, 2017, 02:24:02 PM
I would say both the same as they are both running from the core and the core.

DazTheGas
Title: Re: Which is faster?
Post by: rrc1962 on April 17, 2017, 05:04:18 PM
I thought that would be the case.  Thanks for confirming.