Display tool name in hal_manualtoolchange

More
20 Jul 2022 16:32 #247857 by mattroberts

in qtvcp I used the hashlib module.

That's good to know. I assume that the rational is optimisation / reducing total cpu time / disk io.

As you can easily tell my code isn't trying too hard to avoid repeating work / wasting memory. I guess I could store the tool ids and names as an array of tuples (rather than a list of strings). This would make the code a little longer, but would make it use less memory / cpu time overall. Thankfully, whatever time I'm wasting is at the time that the machine is waiting for the operator to change the tool... so it might not matter.

I'll wait until the dust has settled before I think about what optmisations are the most sensible.

Please Log in or Create an account to join the conversation.

Time to create page: 0.119 seconds
Powered by Kunena Forum