Quantcast
Channel: The Old New Thing
Viewing all articles
Browse latest Browse all 24428

re: This code would be a lot faster if it weren't for the synchronization

$
0
0

we did that in one of our apps, stub out all the lockincrement/decrement in a IUnknown implementation every object used. but we didn't really need it, not for every object anyway. it was just one of those thing where a dev wants to write the most future looking code evar.  however, the actual problem was IMHO that we shouldn't have been calling addref and release so much that is would come up in a v-tune as the top bottleneck in a perfermonance critical scenario.  the whole approach was probably wrong


Viewing all articles
Browse latest Browse all 24428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>