Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

Edited Issue: Possible unnecessary code in ViewGenerator.cs [603]

$
0
0
While adding optimizarions to view generation (ToListOrNotToListTwo) we detected a variable that was ever only assigned the result of GetViewsForExtentAndType(). We removed the assignment but we did not remove the call since we did not know if GetViewsForExtentAndType is a pure method. If we can confirm that the method doesn't have necessary side-effects we should remove the call as well.

This is in general an area that is very performance sensitive and something like this can help a lot.

Viewing all articles
Browse latest Browse all 10318

Trending Articles



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