Skip to content

Instantly share code, notes, and snippets.

Avatar

Kostiantyn Cherniavskyi miyconst

View GitHub Profile
@miyconst
miyconst / DictionaryTest.cs
Created Sep 28, 2019
Simple performance comparison between C# Dictionary and if / switch statements
View DictionaryTest.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace DictionaryTest
{
class Program
{
/* CPU: AMD Ryzen Threadripper 1950x @ 4.0 Ghz
* Count: 100000000
@miyconst
miyconst / Cyriller.CyrName.Program.cs
Created Nov 12, 2018
Пример склонения личных имен и фамилий с использованием класса Cyriller.CyrName.
View Cyriller.CyrName.Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/* https://github.com/miyconst/Cyriller */
namespace CyrillerTest
{
class Program