A lot faster method instead of enum.ToString() and with no GC.
Just autogen switch for each enum you need and return nameof () it. Of course if it is worth to optimize.
https://youtu.be/BoE5Y6Xkm6w
#enum #optimization
Just autogen switch for each enum you need and return nameof () it. Of course if it is worth to optimize.
https://youtu.be/BoE5Y6Xkm6w
#enum #optimization
YouTube
C#'s Enum performance trap your code is suffering from
The first 1,000 people to use this link will get a 1 month free trial of Skillshare: https://skl.sh/nickchapsas08211
Become a Patreon and get source code access: https://www.patreon.com/nickchapsas
Check out my courses: https://nickchapsas.com
This video…
Become a Patreon and get source code access: https://www.patreon.com/nickchapsas
Check out my courses: https://nickchapsas.com
This video…
The fastest way to create a string in C#
string.Create (..) with Span inside
https://youtu.be/Kd8oNLeRc2c
#span #string
string.Create (..) with Span inside
https://youtu.be/Kd8oNLeRc2c
#span #string
YouTube
The best way to create a string in C# that you shouldn't use
Get tickets to NDC Oslo here: https://ndcoslo.com
Check out other NDC conferences here: https://ndcconferences.com/
Subscribe: http://bit.ly/ChapsasSub
Become a Patreon and get source code access: https://www.patreon.com/nickchapsas
This video is sponsored…
Check out other NDC conferences here: https://ndcconferences.com/
Subscribe: http://bit.ly/ChapsasSub
Become a Patreon and get source code access: https://www.patreon.com/nickchapsas
This video is sponsored…
Unity Gradient Effect UI Design Without Scripting | Simple Gradient Effects in Unity 3D - Overflow Archives
https://www.overflowarchives.com/unity/unity-gradient-ui-design-without-noscripting-simple-gradient-effect-in-unity-3d/
#uigradient #gradient
https://www.overflowarchives.com/unity/unity-gradient-ui-design-without-noscripting-simple-gradient-effect-in-unity-3d/
#uigradient #gradient
Overflow Archives
Unity Gradient Effect UI Design Without Scripting | Simple Gradient Effects in Unity 3D
In Unity gradient effect is used for animating colors to achieve color blending. Color gradients, or color transitions, can be
R&P - Research And Program: Editor UnityTips
http://researchandprogram.blogspot.com/2021/09/unitytips-unity3d-noscripting-tips-tricks.html?m=1
#tips #editor
http://researchandprogram.blogspot.com/2021/09/unitytips-unity3d-noscripting-tips-tricks.html?m=1
#tips #editor
How Best to use the Start and Awake Functions in Unity
https://gamedevunboxed.com/how-best-to-use-the-start-and-awake-functions-in-unity/
#start #awake
https://gamedevunboxed.com/how-best-to-use-the-start-and-awake-functions-in-unity/
#start #awake
Gamasutra: Antoine Rogliano's Blog - How to create GodRays in Unity URP
https://www.gamasutra.com/blogs/AntoineRogliano/20210902/387554/How_to_create_GodRays_in_Unity_URP.php
#godray #particles
https://www.gamasutra.com/blogs/AntoineRogliano/20210902/387554/How_to_create_GodRays_in_Unity_URP.php
#godray #particles
GAMASUTRA
How to create GodRays in Unity URP
The following blog post, unless otherwise noted, was written by a member of Gamasutra’s community. The thoughts and opinions expressed are those of the writer and not Gamasutra or its parent company. Before we start, If you're curious about our ongoing project…
Gregory Szorc's Digital Home | Surprisingly Slow
What can surprise you how slowly it is executed on PC
https://gregoryszorc.com/blog/2021/04/06/surprisingly-slow/
#slow #performance
What can surprise you how slowly it is executed on PC
https://gregoryszorc.com/blog/2021/04/06/surprisingly-slow/
#slow #performance
Profiling and optimisation tips for mobiles - Unity Forum
https://forum.unity.com/threads/profiling-and-optimisation-tips-for-mobiles.512902
#throttling #thermal
https://forum.unity.com/threads/profiling-and-optimisation-tips-for-mobiles.512902
#throttling #thermal
Unity Forum
Profiling and optimisation tips for mobiles
We would like to share "Mobile performance handbook: thermal stability" prepared by our Mobile team.
This presentation is aimed at mobile game...
This presentation is aimed at mobile game...
Fast Surface Recognition System in Unity
https://www.gamasutra.com/blogs/JanuszTarczykowski/20210831/387704/Fast_Surface_Recognition_System_in_Unity3d.php
#surface #recognition
https://www.gamasutra.com/blogs/JanuszTarczykowski/20210831/387704/Fast_Surface_Recognition_System_in_Unity3d.php
#surface #recognition
GAMASUTRA
Fast Surface Recognition System in Unity3d
The following blog post, unless otherwise noted, was written by a member of Gamasutra’s community. The thoughts and opinions expressed are those of the writer and not Gamasutra or its parent company. One of the most common things you do in video games is…
Armored Warfare: Проект Армата. Хроматическая аберрация
https://habr.com/ru/company/mailru/blog/510330/
#shader #chromatic #aberration
https://habr.com/ru/company/mailru/blog/510330/
#shader #chromatic #aberration
Хабр
Armored Warfare: Проект Армата. Хроматическая аберрация
Armored Warfare: Проект Армата — бесплатный танковый онлайн-экшн, разрабатываемый Allods Team, игровой студией MY.GAMES. Несмотря на то, что игра сделана на Cr...
Material Property Blocks
Use it instead of renderer.material
https://www.anton.website/material-property-blocks/
#material #propertyblock
Use it instead of renderer.material
https://www.anton.website/material-property-blocks/
#material #propertyblock
Funnel
Basic info about marketing your indie game and how to approach it
https://ltpf.ramiismail.com/funnel/
#marketing #funnel
Basic info about marketing your indie game and how to approach it
https://ltpf.ramiismail.com/funnel/
#marketing #funnel
Levelling The Playing Field
Funnel
How independent developers tend to start at the wrong end of marketing, and a more structural way of thinking about marketing.
Converting chunks to a string with ToString(): A deep dive on StringBuilder - Part 3
https://andrewlock.net/a-deep-dive-on-stringbuilder-part-3-converting-chunks-to-a-string-with-tostring/
#stringbuilder #tostring
https://andrewlock.net/a-deep-dive-on-stringbuilder-part-3-converting-chunks-to-a-string-with-tostring/
#stringbuilder #tostring
Andrew Lock | .NET Escapades
Converting chunks to a string with ToString(): A deep dive on StringBuilder - Part 3
In this post I look at StringBuilder.ToString(), show how multiple chunk arrays are converted to a string, and compare it to .NET Framework's approach.
Reducing allocations by caching with StringBuilderCache: A deep dive on StringBuilder - Part 5
https://andrewlock.net/a-deep-dive-on-stringbuilder-part-5-reducing-allocations-by-caching-stringbuilders-with-stringbuildercache/
#optimization #stringbuilder
https://andrewlock.net/a-deep-dive-on-stringbuilder-part-5-reducing-allocations-by-caching-stringbuilders-with-stringbuildercache/
#optimization #stringbuilder
Andrew Lock | .NET Escapades
Reducing allocations by caching with StringBuilderCache
In this post I look at the internal StringBuilderCache type, benchmark it against a StringBuilder, and walk through the code to show how it works.
ValueStringBuilder: a stack-based string-builder: A deep dive on StringBuilder - Part 6
https://andrewlock.net/a-deep-dive-on-stringbuilder-part-6-vaulestringbuilder-a-stack-based-string-builder/
#valuestringbuilder
https://andrewlock.net/a-deep-dive-on-stringbuilder-part-6-vaulestringbuilder-a-stack-based-string-builder/
#valuestringbuilder
Andrew Lock | .NET Escapades
ValueStringBuilder: a stack-based string-builder
In this post I discuss the ValueStringBuilder type, used internally in .NET as a zero/low-allocation alternative to StringBuilder
How Does the StringBuilder Work in .NET?
https://www.stevejgordon.co.uk/how-does-the-stringbuilder-work-in-dotnet-part-1-why-do-we-need-a-stringbuilder-and-when-should-we-use-one
https://www.stevejgordon.co.uk/how-does-the-stringbuilder-work-in-dotnet-part-2-understanding-the-overhead
https://www.stevejgordon.co.uk/how-does-the-stringbuilder-work-in-net-part-3-how-appending-works-and-the-stringbuilder-expands
#stringbuilder #string #optimization
https://www.stevejgordon.co.uk/how-does-the-stringbuilder-work-in-dotnet-part-1-why-do-we-need-a-stringbuilder-and-when-should-we-use-one
https://www.stevejgordon.co.uk/how-does-the-stringbuilder-work-in-dotnet-part-2-understanding-the-overhead
https://www.stevejgordon.co.uk/how-does-the-stringbuilder-work-in-net-part-3-how-appending-works-and-the-stringbuilder-expands
#stringbuilder #string #optimization
Steve Gordon - Code with Steve
How Does the StringBuilder Work in .NET? (Part 1) - Steve Gordon - Code with Steve
In this post, I begin a series focusing on understanding the problems that the StringBuilder class solves and when it makes sense to use it.
Strings and the CLR - a Special Relationship · Performance is a Feature!
https://mattwarren.org/2016/05/31/Strings-and-the-CLR-a-Special-Relationship/#fast-string-allocations
#string #performance
https://mattwarren.org/2016/05/31/Strings-and-the-CLR-a-Special-Relationship/#fast-string-allocations
#string #performance
Performance is a Feature!
Strings and the CLR - a Special Relationship
Strings and the Common Language Runtime (CLR) have a special relationship, but it’s a bit different (and way less political) than the UK <-> US special relationship that is often talked about.
Introduction to TextMesh Pro in Unity |
Basics of text mesh pro usage
https://www.raywenderlich.com/22175776-introduction-to-textmesh-pro-in-unity
#textmeshpro
Basics of text mesh pro usage
https://www.raywenderlich.com/22175776-introduction-to-textmesh-pro-in-unity
#textmeshpro
kodeco.com
Introduction to TextMesh Pro in Unity
Learn about TextMesh Pro in Unity by creating a spooky text-based adventure game where the style of the text changes based on what happens in the story.