Skip to content

How to speed up updating source cache on background thread? #900

Closed Answered by Snailya
Snailya asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry for the late response due to other works, I think I've figured out recently.
It is not revelant to Dynamic Data, but the COM STA limit for Office. Due to the STA, it has to read data from visio one by one, so it costs much more time than expected even all operation is invoked in the VSTO_Main thread. And it can't be worked around by parallel in background thread, because it will marshal all data to the COM automatically.
Thanks for your help.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Snailya
Comment options

@JakenVeina
Comment options

@dwcullop
Comment options

@Snailya
Comment options

Answer selected by Snailya
@JakenVeina
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants