comparison test/test.cc @ 37:4b5a557aa64f

*: turns out extern is a practical joke. rewrite to be always inline again the sample benchmark performs about 3x as well with optimizations disabled :)
author Paper <paper@tflc.us>
date Sat, 26 Apr 2025 01:04:35 -0400
parents 41dd962abdd1
children
comparison
equal deleted inserted replaced
36:677c03c382b8 37:4b5a557aa64f
1 #define VEC_IMPLEMENTATION
2 #include "vec/vec.h" 1 #include "vec/vec.h"
3 2
4 #include <iostream> 3 #include <iostream>
5 4
6 /* this test makes sure that vec can be included under C++ */ 5 /* this test makes sure that vec can be included under C++ */