TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: C# performance-oriented code challenges

12 点作者 pestkranker超过 7 年前
I want to challenge myself doing performance enhancements. Any ideas of existing resources?

1 comment

bold_monkey超过 7 年前
It depends on your goals, if you want a deep understandigyou must learn ho CLR works:<p>This book can be a good start: &gt; <a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;CLR-via-4th-Developer-Reference&#x2F;dp&#x2F;0735667454" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;CLR-via-4th-Developer-Reference&#x2F;dp&#x2F;07...</a><p>Anyway, if you have specific needs, the knowledge needed may vary. For LOB applications (IMHO) very often performance issue have to be searched in I&#x2F;O (RDMS &#x2F; WebServices &#x2F; RPC), these times in all depends a lot on query tuning, optimization of data transfer via specific binary protocols etc... so C# internals not come to an help (even if i think that knowing it may be really precious).<p>If you are facing applications with numerical analysis and&#x2F;or greedy algorithm you could give a look at stackalloc&#x2F;unsafe programming. This links is a good start:<p><a href="http:&#x2F;&#x2F;content.atalasoft.com&#x2F;h&#x2F;i&#x2F;58208059-improving-performance-through-stack-allocation-net-memory-management-part-2" rel="nofollow">http:&#x2F;&#x2F;content.atalasoft.com&#x2F;h&#x2F;i&#x2F;58208059-improving-performa...</a><p>Hope this helps :)
评论 #16216016 未加载
评论 #16213431 未加载