Skip to content

Instantly share code, notes, and snippets.

View evolvedmicrobe's full-sized avatar

Nigel Delaney evolvedmicrobe

View GitHub Profile
@evolvedmicrobe
evolvedmicrobe / SimplePartitioner.cs
Last active December 31, 2015 14:08
How to implement a partitioner to avoid an OOM.
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Collections.Concurrent;
namespace YourNamespace
{
// Represent a chunk partitioner