Quote:
Originally Posted by Arhowk
If the pyfrc libraries were compiled before being uploaded to the RIO (if they aren't already), would that make it significantly faster?
|
Bytecode-compiled .pyc files are primarily to reduce file size, and only help where disk I/O is the bottleneck. If that's the case here then it may help but I wouldn't expect the difference to be dramatic.
Anecdotally, our robotpy deploy times dropped by at least a couple seconds once we switched our RoboRio to static IP and used that IP (not the hostname) to deploy. I would also second Dustin's advice on using tunables when practical, and just avoid redeploying for every tweak.
Although coming from using LabView in previous years our team still finds the robotpy deploy times to be a vast improvement.