summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-07-17 01:48:22 +0200
committerTyge Løvset <[email protected]>2022-07-17 01:48:22 +0200
commit78cb61301df13fee995d3afd1bd1d8d63310d819 (patch)
tree8d5029aca2e9c408ca91d45166af261b9adf0fdc /examples
parent61aad2d4e4ab744ef75ac30433526dce572a1074 (diff)
downloadSTC-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.c12
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()
{