Skip to content

Instantly share code, notes, and snippets.

View pixsperdavid's full-sized avatar

David Butler pixsperdavid

View GitHub Profile
using MemoryPack;
namespace MemoryPackUnionTest;
[MemoryPackable]
[MemoryPackUnion(1, typeof(ICommon.IV1))]
[MemoryPackUnion(2, typeof(ICommon.IV2))]
public partial interface ICommon
{
[MemoryPackable]
@pixsperdavid
pixsperdavid / TimerTest.cs
Last active April 24, 2016 20:32
Basic console test app for accuracy of timing
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using System.Linq;
namespace TimerTest
{
class Program