How to PLINQ an existing LINQ query with Joins?

夙愿已清 提交于 2019-11-27 22:14:44
alykhalid

There are 3 points worth investigating further,

  1. Do not use .toList(). I might be wrong but I think using .ToList this way would not allow the compiler to optimize the query, if further optimization was possible.
  2. Use your own filtering operation to compare data from both destionations. It might give you better performance.
  3. See if you could use LinqDataview to provide better performance.

    I dont think you will gain an advantage of PLinq while doing insertion. Look at this answer for more details.

Hope that helps. Please do ask if you need clarification on any of the above points.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!