This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <inttypes.h> | |
#include <time.h> | |
const size_t memsize = 128 * 1024 * 1024; | |
const size_t elems = memsize / sizeof(uint32_t); | |
void shuffle(uint32_t* data, size_t elems); | |
void time_linear(const uint32_t* indices, size_t elems); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <inttypes.h> | |
#include <time.h> | |
const size_t memsize = 128 * 1024 * 1024; | |
const size_t elems = memsize / sizeof(uint32_t); | |
void shuffle(uint32_t* data, size_t elems); | |
void time_linear(const uint32_t* indices, size_t elems); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/grammar/FinnishAnalysis.cpp b/src/grammar/FinnishAnalysis.cpp | |
index 5b89f16..e9f0c47 100644 | |
--- a/src/grammar/FinnishAnalysis.cpp | |
+++ b/src/grammar/FinnishAnalysis.cpp | |
@@ -35,7 +35,7 @@ | |
#include <cstring> | |
using namespace libvoikko::grammar; | |
-using namespace std; | |
+using std::list; |