开发者

Compiled queries or not

开发者 https://www.devze.com 2023-01-27 08:09 出处:网络
Hey there! Earlier today I came across a new term \"compiled queries\" in linq2entity开发者_Go百科 and found out what it was used for, however I still wonder whether there are any drawbacks since its

Hey there! Earlier today I came across a new term "compiled queries" in linq2entity开发者_Go百科 and found out what it was used for, however I still wonder whether there are any drawbacks since its never used anywhere? (atleast in the web dev world)

Thanks in advance.


compiled queries are just a little bit faster than normal queries. they are often used when one query needs to executed repetitively. however, there is no huge difference in performance. in fact, stack-overflow.com is built using normal linq queries and as you can see the performance is great

0

精彩评论

暂无评论...
验证码 换一张
取 消