Ivan Gagne's base-64 encoding project, from the 9/17/2014 San Diego LabVIEW UGM.
Demonstrates optimization of base-64 encoding of a large dataset. An example application would be transmitting binary data over a string-based protocol.
Techniques:
Low lying fruit:
- Experiment with the execution options. Disabling debug always helps but experiment with the other two.
More info about subroutine priority here: https://www.ni.com/docs/en-US/bundle/labview/page/prioritizing-parallel-tasks.html
- Remove binary array manipulation. Move bits left and right using the shift operator.
- Remove inner for loop, use U8 arrays instead of strings, and eliminate dynamic memory allocation
- Calculate a lookup table (code inside zip file) ahead of time to eliminate search time