Question

Lequel est le plus efficace, "data.length == 0" ou "data == string.empty"?

Dans cette question, il y avait une réponse qui décrit les temps d'exécution.

Pour JavaScript: je sais qu'il y a un site appelé http://jsperf.com/

qu'en est-il de C # placer ? Y a-t-il ?

Pas de solution correcte

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top