What’s new for performance in .NET Core and ASP.NET Core 3.0 – Ben Adams
One of the biggest advantages of using .NET Core (besides cross-platform support) is the drastic improvements in performance. Because the .NET Core team was able to make minor breaking changes in the runtime and Base Class Library (BCL), lots of stuff was implemented much more efficiently. In this session Ben will dive into the performance improvements in .NET Core in the 3.0 release: runtime changes, JIT changes, intrinsics and a deep dive into some of the improvements making it the best release yet!
- .NET Core 2.2.6 and .NET Core SDK ( Download | Release Notes )
- .NET Core 2.1.12 and .NET Core SDK ( Download | Release Notes )
در ماه میسال جاری میلادی مایکروسافت نقشهی توسعه NET. رو تا سال 2023 منتشر کرد و این نقشه نه فقط مربوط به NET Core. بلکه همهی خانوادهی NET. هست. این بروزرسانی علاوه بر ویندوز خانوادهی بزرگی از بسترهای متنوع و متفاوتی مثل لینوکس، سیستمعامل مک، IOS، اندروید، سیستمعاملهای تلویزیون، سیستمعامل ساعت اپل، Web Assembly، ابزارهای متنوع IoT، و کلی بستر متفاوت دیگه رو شامل میشه.
پیشتر برای محاسبهی هش اشیاء، از یک چنین روشی استفاده میشد:
public override int GetHashCode() { unchecked { int hashCode = 17; hashCode = (hashCode * 23) + (name == null ? 0 : this.name.GetHashCode()); hashCode = (hashCode * 23) + this.age; foreach (string power in this.powers) { hashCode = (hashCode * 23) + (power == null ? 0 : power.GetHashCode()); } return hashCode; } }
public override int GetHashCode() { var hash = new HashCode(); hash.Add(this.object1); hash.Add(this.object2); return hash.ToHashCode(); }