diff options
| author | Tyge Løvset <[email protected]> | 2022-07-17 01:48:22 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-07-17 01:48:22 +0200 |
| commit | 78cb61301df13fee995d3afd1bd1d8d63310d819 (patch) | |
| tree | 8d5029aca2e9c408ca91d45166af261b9adf0fdc /examples | |
| parent | 61aad2d4e4ab744ef75ac30433526dce572a1074 (diff) | |
| download | STC-modified-78cb61301df13fee995d3afd1bd1d8d63310d819.tar.gz STC-modified-78cb61301df13fee995d3afd1bd1d8d63310d819.zip | |
Tuned benchmark shootout_hashmaps.cpp and updated two external c++ hash tables to newest. Updated benchmarks/build_all.sh
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/new_pque.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/examples/new_pque.c b/examples/new_pque.c index 1f968f4c..b6226582 100644 --- a/examples/new_pque.c +++ b/examples/new_pque.c @@ -1,15 +1,7 @@ -#include <stc/forward.h> - -forward_cpque(cpque_pnt, struct Point); - -struct MyStruct { - cpque_pnt priority_queue; - int id; -}; +#include <stdio.h> #define i_val int #include <stc/cstack.h> - #define i_val int #include <stc/cpque.h> @@ -22,11 +14,9 @@ int Point_cmp(const Point* a, const Point* b) { #define i_val Point #define i_cmp Point_cmp -#define i_opt c_is_fwd #define i_tag pnt #include <stc/cpque.h> -#include <stdio.h> int main() { |
