Everyone said linq very slow performance how reduce that problem ??? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

Everyone said linq very slow performance how reduce that problem ???

26th Nov 2016, 3:48 AM
Tamil Karthi
Tamil Karthi - avatar
3 Respostas
+ 2
Tha answer is,when the problem is a performace, not use a linq. Because the linq is a new generally comon query language over many different sources of data. But not the fastest in all cases. So, for getting a maximum performance use another access to your data. For example - to access array is faster the classic for loop. For large databases a pure sql over remote sql server (because over there on remote sql server would be the performance,..) and so on..
26th Nov 2016, 7:55 AM
Petr Hatina
Petr Hatina - avatar
0
LINQ is not slow. There are many LINQ providers, maybe they use database providers and they do it wrong?
26th Nov 2016, 5:56 AM
Ivan G
Ivan G - avatar
0
Ok
26th Nov 2016, 7:06 AM
Tamil Karthi
Tamil Karthi - avatar