Skip to content

Instantly share code, notes, and snippets.

@Cecilwang
Cecilwang / runtime_poly_bench.cc
Created August 21, 2019 03:39
runtime_poly_bench
#include <memory>
#include "benchmark/benchmark.h"
struct A {
int f1() { return ++v; }
int f2() { return ++v; }
int v;
};
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.