pganssle/Magnetometer-Controller — Issue #31: Parallelize code a bit better.
Author: pganssle
Created: 2012-02-11 01:36:08+00:00
State: open

Currently the only things I have working asynchronously are things that I wouldn't want to cause the UI to freeze up. Given that all the computers we're using probably have 4+processors, it's probably a smart idea to make the program a bit better with multithreading by parallelizing a bit better.

There's probably room for improvement in the FFT domain, file loading domain, math expression parsing, loading and unloading functions and updating controls.

One example would be that when you change the number of dimensions or steps in a dimension, that's a *highly* parallel operation, inherently. It's probably better to just generate a thread queue to fix this asynchronously. So if there are 10 instructions, 5 of which have to calculate a large array using the math parser, the full program array for each instruction could be calculated in separate threads.