Skip to content

Instantly share code, notes, and snippets.

View paulotovo's full-sized avatar

Paulo Tovo Filho paulotovo

  • São Paulo - Brazil
View GitHub Profile
@paulotovo
paulotovo / faster-trim.cpp
Created June 24, 2016 02:25 — forked from springmeyer/faster-trim.cpp
benchmark of std::string trim
#include <iostream>
#include <algorithm>
#include <functional>
#include <cctype>
#include <locale>
#define BOOST_CHRONO_HEADER_ONLY
#include <boost/chrono/process_cpu_clocks.hpp>
#include <boost/chrono.hpp>
#include <boost/thread/thread.hpp>