BenchmarkDotNet=v0.13.1, OS=Windows 10.0.19043.1237 (21H1/May2021Update)
Intel Core i7-7500U CPU 2.70GHz (Kaby Lake), 1 CPU, 4 logical and 2 physical cores
.NET SDK=6.0.100-rc.1.21463.6
[Host] : .NET 6.0.0 (6.0.21.45113), X64 RyuJIT [AttachedDebugger]
Job-CKZXSH : .NET 6.0.0 (6.0.21.45113), X64 RyuJIT
InvocationCount=1 UnrollFactor=1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Git-Worktree-List { | |
git worktree list | |
} | |
function Copy-UntrackedFiles { | |
param ( | |
[string]$SourcePath, | |
[string]$TargetPath | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Buffers; | |
using System.IO; | |
using System.Security.Cryptography; | |
using System.Text.Json; | |
using System.Threading; | |
using System.Threading.Tasks; | |
public static class SymmetricAlgorithmExtensions | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Buffers; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
public static class TextReaderExtensions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0eNq9XdluW0cS/ZUBn62gl+rNrwMMMN8wCAJZYmxiJJKgqCBG4H+fq2WilnT78lQdU0+Jbamqu7r2Ot33r9WXm/v1/rDZHlef/1ptrnbbu9Xn//y1utt83V7ePPzd8ft+vfq82hzXt6tPq+3l7cOf9ofd1frubrP9enG/3RxXPz6tNtvr9Z+rz/7Hp5O/fXn9x+X2an19cbU5XN2/+vUA/Pr6Zn11POy2m6sZAvHHr59W6+1xc9ysn7by+Ifvv23vb7+sD9MCX+j8uT9Mm7g4Hi63d/vd4XjxZX1znPjsd3fTr++2Dyt4IFnDL+nT6vvq80Wo+Zc0MbveHKY1PP7I44rf8AgGHlHJIxp4JCUPMfAQJY9k4FGUPLKBR1byKAYeTcmjvuNxt7/ZHI/Tv81Qrx31N7Q/rXb3x/398bfJ9HeHicVE8rD5+u3Bkt5xbfqdNa/cmXcGJk7LxGD7TWuX3mD8TetgvMH6m9b6vcH8m9b8vcH+m9b+vcEBNK0D8AYP0KqWSeXCV4KYNC5+QUyC44ILxsRzURJjErjwgjF5sfjb9fXm/vbiKQ2akqD97mZ9gsUktx9zRIULvtjKkypqdTExMVErZC5sYXsrXNiSt0xkjknlmGA7aVzYgphExwVgjInnwhbGJHABGGOitvl+HwObj8LFQmzlZFTHmGQu4GJMXixcFWgjYtmRjOYBYtIUO4gLxPNchegUxEVL/MWSN9u79WEQMdIC2dmq9sV2L+/u1rdfbh76GLeXV9822/VFPBHznlhMDDaPrYmr3X6/PlxcXX55NMiHTsXdw6/tD7vr+2kRf0ycL26n/795ID0d0NyCIrTPpt2nIGT7mIedyott/355d9TFIkhjJXMBD7I9KVotaPG8WlCh40ra41KYfytKFUsK8++DCEbcc/4d0rUUFDuoSh1LkfPvHmIiNv/uEO1JyUbcQ8QzJx4Hiadog4iDlLNqyXqIbLPFU0je2RisIU3Jnoiqpf18f5qDNqpCB5/VwRo6+KwO1tiRJy1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0eNrF3duOHdeRoOFXEXgtGjvyFBF+gAZ827czRoOiSnKhKZJTKhptGH73KUmWWB7VYq4ve4C+ctutCmXutQ9/Hvb+/v7qm3ef7j4+3L9/fPXHv7/69u7Htw/3Hx/vP7x/9cdXf3r/ePfw7sPb/7x///1X/3735u3jh4ev/u3N2/t3949/+8P/fv+n92/ffXr6k6/evXn/7Xf379599fSfX3389MPHH//w6utX928/vP/x1R//199f/Xj//fs37376Fzz+7ePd0+T7x7sfnv6J929++Om/vf/09t3dm4fXD7/8K1794+lv339791+v/hj/+PPXr+7eP94/3t/9Murn//K3/3j/6Ydv7h6e/oHfhnz47rsf//Lh4e71T//+p9kfP/x4/8t+/P3VT5Pq9of961d/e/q/9vUP+z/+8fXvZi3zs46zWev0rD7drm1+Vp3N2mdnLbfTfTx+m/Xj492bH14/fnr45v793QvblZ9nPf1fT8v77f3D3dtf/onlhck5PbnCJtdvkz/ef7x7/fjh9fcPHz69//bLT5jt5Qeg5zczbTPjBtt5nG1nxPy0Z0/HfTBt+ZdpX54x2qJ1+qHrHR+6DXa2Tjd0n93Q5XbDDT2mN/T5i3G0KnmyKs9njHa2pnc28HUXffakqe1fJr70/nyDGTmYEadP3uV0OxaYMdqO9XS51tPt2OAJtI3X63hp9rPn/advfnx88/M/+tKT6tf9fHEL5SmOb5HL+RO+TlehYMZoFT4/sx8+fPPh44eHx5c+AZdfphy3F2vhduWjtGcepjWufJbOjV7g9ViDTlqnnmdPH3K/btmLUzbYkh5syT7/QDU+UAe8YYw2L2HG6MGuK5+6c7vYVz4np0Zvt/nRuNVbwOt/sDDbAjMGC7OtVz5453Zxmx+Nby3bfuFd61imRh8X3rUmR+f8e8URg/UqmHEbzOgL7zdzu7jf5t8rRru4QyiNdnFfLrzfTO7ieuH9ZnL0duH9ZnL0Pv9eMVyYA2aMFiYvvN9M7mJdeL+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Queue | |
{ | |
constructor() | |
{ | |
this.count = 0; | |
this.tail = this.root = { | |
next:null | |
}; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static class LocalArrayPool<T> | |
{ | |
public const int MaxArrayLength = 1024 * 1024; | |
static LocalArrayPool() | |
{ | |
Instance = ArrayPool<T>.Create(MaxArrayLength, 4); | |
} | |
public static readonly ArrayPool<T> Instance; | |
public static void Rent( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.Diagnostics.Contracts; | |
using System.IO; | |
namespace System.Threading.Tasks.Dataflow | |
{ | |
public static class DataflowExtensions | |
{ | |
public static BatchBlock<T> Batch<T>(this ISourceBlock<T> source, | |
int batchSize, |
NewerOlder