You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getVSData() should be executed in its own thread instead of in the event thread. Spawn the thread when this addin is loaded. Every time the timerTick goes off, push the x,y,timestamp data into a thread-safe queue. The thread can drain this queue and process the x,y location.
Have the getVSData() function write its mapping (line number, column) into a thread-safe queue.
Disk access doesn't need to be in the event thread. Have another thread drain the output queue and write XML to disk.
This should remove significant bottlenecks from the code.
The text was updated successfully, but these errors were encountered:
Looking at the source code in xml_writer.cs, there are some very easy ways to optimize this code to run much faster.
This should remove significant bottlenecks from the code.
The text was updated successfully, but these errors were encountered: