From 41046f6ac02a1d947d656d033ecb53a249e7cc7e Mon Sep 17 00:00:00 2001
From: Patrick Simianer
Date: Sun, 20 Jul 2014 15:25:43 +0200
Subject: cleanup
---
fast/read_pak.cc | 27 ---------------------------
1 file changed, 27 deletions(-)
delete mode 100644 fast/read_pak.cc
(limited to 'fast/read_pak.cc')
diff --git a/fast/read_pak.cc b/fast/read_pak.cc
deleted file mode 100644
index c1cf761..0000000
--- a/fast/read_pak.cc
+++ /dev/null
@@ -1,27 +0,0 @@
-#include
-#include
-#include
-
-using namespace std;
-
-
-int
-main(int argc, char** argv)
-{
- ifstream ifs(argv[1]);
- size_t i = 0, nn, ne;
- msgpack::unpacker pac;
- while(true) {
- pac.reserve_buffer(32*1024);
- size_t bytes = ifs.readsome(pac.buffer(), pac.buffer_capacity());
- pac.buffer_consumed(bytes);
- msgpack::unpacked result;
- while(pac.next(&result)) {
- msgpack::object o = result.get();
- cout << o << endl;
- }
- if (!bytes) break;
- }
-
- return 0;
-}
--
cgit v1.2.3