Skip to content

Instantly share code, notes, and snippets.

View ejahandar's full-sized avatar

Ebrahim Jahandar ejahandar

View GitHub Profile
@ejahandar
ejahandar / IteratorBenchmark.cpp
Created March 14, 2018 17:49
A Benchmark for Qt's Vector/List/Map iterators vs simple arrays
#include <QDateTime>
#include <QMap>
#include <QVector>
#include <QList>
#include <QDebug>
#define SIZE 10000000
int array[SIZE];
int main(){