Skip to content

Instantly share code, notes, and snippets.

View feO2x's full-sized avatar

Kenny Pflug feO2x

View GitHub Profile
@feO2x
feO2x / CompositeQueue.cs
Last active August 16, 2021 19:21
Composite Async Queue (David Fowler Coding Challenge)
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace CompositeAsyncQueues
{
public interface IAsyncQueue<T>
{
Task<T> DequeueAsync();
}
00007ff8`6020ec10 ThrowMethodInlined.Benchmarks.IntBenchmarks.MustHaveValueBaseVersion()
00007ff8`6020ec15 488d4108 lea rax,[rcx+8]
00007ff8`6020ec19 0fb610 movzx edx,byte ptr [rax]
00007ff8`6020ec1c 8b4004 mov eax,dword ptr [rax+4]
00007ff8`6020ec1f 84d2 test dl,dl