Commit abff960
saving results to improve time
Saving is done in function updateListbox() after parsing was executed.
Parsing is skipped if
* procedure has a saved state and
* procedure is valid
* procedure was set as invalid but checksum did not change
Parsing is only done if
* procedure is invalid (recompilation was hit)
* checksum changed
Maximum storage for procedures is 1024. "First in first out"
Storage Waves:
saveWaves: references to free waves
* decl (2D text wave)
* lines (1D integer wave)
saveStrings:
* Identifier (module#procedure)
* checksum (SHA)
saveVariables:
* valid (0/1)
* time for parsing in microseconds
* time for checksum calculation in microseconds
Features:
* MatrixOP for faster reordering.
* getter functions for storage waves
* naming of functions save*
General changes:
* Moved get* functions to the end of file.
* Some Code Reorganisation
* helper functions
** accessing/creating global variables and strings in profject data folder
** microSecond Timer control gets Debugging messages.
caveats:
* sorting needs to be fixed if tb/parsing is committed.
* procedureWithoutModule, procedure, module, Identifier should be cleaned. Maybe a structure is suitable
* parsing time has to be monitored. SHA added some additional time.
* if time takes too long there has to be something like a slider to decrease current parsing level. Lowest Level: Only Functions etc.1 parent 12e38b9 commit abff960
4 files changed
Lines changed: 432 additions & 51 deletions
0 commit comments