Skip to content

Instantly share code, notes, and snippets.

@mburbea
mburbea / ByteIndexOf.cs
Last active August 29, 2015 14:02
Playing with SIMD
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Collections;
@mburbea
mburbea / Create_funcs.sql
Last active August 29, 2015 14:01
SplitTest v3
/* This script is just the creation of the objects. Useful if you just want to add the functions
* to an existing database.
* You don't need to take all of them.
* Hybrid is depedent on HybridInternal
* HybridNV depends on HybridNVInternal
* SplitVarchar,SplitVarcharA depend on SplitVarbinary
* SplitNVarchar depends on SplitNVarcharInternal
* the baseline functions are for diagnostic purposes only. They are not splitters!
* They return 1 less then their third parameter number of chunks of the first parameter.
*/