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: http://zone.ni.com/reference/en-XX/help/371361L-01/lvconcepts/prioritizing_parallel_tasks/
- 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