Repository navigation
Issues.00484
Summary: improve performance in cev_overlay_comm.tcl
Created: 2013–03–12 11:11
Status: Released
Category: Request
From: frankie
Version: 2.3
Released_In: 2.4
Description:
After some profiling of the DOUG code, it was noticed that the tcl events being fired from within cev_overlay_comm.tcl were taking longer than expected. After some investigation, it appears that this is mainly due to the regsub calls that get executed every time the event fires.
This is a request to improve performance of the cev overlay code.
| commit | 969a02ba70bd6790237980718094b4d7b66ce2ad [link] |
||
| Author: | Frank Graffagnino |
| Date: | Tue Mar 12 10:13:36 2013 -0600 |
| Message: | [@Issue 00484: improving performance of cev_overlay_comm.tcl by removing cyclic
regsub calls It appears that the regsub calls are more expensive than we thought. Removing these by remembering the calculated variable names after init seems to improve things quite a bit. The max execution time on my laptop for the tcl events went from 0.0081 seconds to about 0.0013 seconds. @] |
Affected Files:
gui/cev_overlay_comm.tcl | 11 +++++±----
gui/interface_libraries/enigma_interface_library.tcl | 13 ++++++±-----
2 files changed, 13 insertions(+), 11 deletions(-)