Skip to content

Instantly share code, notes, and snippets.

View WANG-lp's full-sized avatar
🎯
Focusing

Lipeng (William) Wang WANG-lp

🎯
Focusing
View GitHub Profile
@WANG-lp
WANG-lp / merge-AVX2.patch
Created April 29, 2018 06:56
picohttpparser AVX2 patch for parent commit: 2a16b2365ba30b13c218d15ed9991576358a6337
From b769b9259228d9f65c449ad63984d1a50f766d0b Mon Sep 17 00:00:00 2001
From: "(Lipeng)William" <wang.lp@outlook.com>
Date: Sun, 29 Apr 2018 14:47:06 +0800
Subject: [PATCH] merge AVX2
---
picohttpparser.c | 311 ++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 310 insertions(+), 1 deletion(-)
diff --git a/picohttpparser.c b/picohttpparser.c
@WANG-lp
WANG-lp / qt_stl_boost_split.cpp
Created April 11, 2018 14:23
qt stl boost string split performance comparation
#include <iostream>
#include <sstream>
#include <vector>
#include <string>
#include <random>
#include <ctime>
#include <chrono>
#include <cassert>
#include <QString>