|
19 | 19 | std::fprintf(stderr, "\n\n"); std::exit(1);} while(0) |
20 | 20 | #define ASSERT(condition, msg) do {if (!condition){std::fprintf(stderr, "\n\n\033[31mAssertion Failed:\033[m %s\n\n", msg); \ |
21 | 21 | std::exit(1);}} while(0) |
22 | | -#define STATUS_LOG(x, ...) do {std::fprintf(stderr, "[%s] ", x); std::fprintf(stderr, __VA_ARGS__ ); \ |
| 22 | +#define STATUS_LOG(x, ...) do {std::fprintf(stderr, "\033[32m[%s] \033[0m", x); std::fprintf(stderr, __VA_ARGS__ ); \ |
23 | 23 | std::fprintf(stderr, " ... ");} while(0) |
24 | 24 | #define DONE_LOG(x) do {auto sec = std::chrono::duration<double>(x); \ |
25 | 25 | std::fprintf(stderr, "done. (%.3f sec)\n", sec.count());} while(0) |
26 | | -#define FORCE_LOG(func, ...) do {std::fprintf(stderr, "[%s] ", func); \ |
| 26 | +#define FORCE_LOG(func, ...) do {std::fprintf(stderr, "\033[32m[%s] \033[m", func); \ |
27 | 27 | std::fprintf(stderr, __VA_ARGS__); \ |
28 | 28 | std::fprintf(stderr, "\n");} while (0) |
29 | 29 |
|
30 | 30 | // Defintions |
31 | | -#define PFPDOC_VERSION "1.0.6" |
| 31 | +#define PFPDOC_VERSION "1.0.7" |
32 | 32 |
|
33 | 33 | #define DOCWIDTH 2 |
34 | 34 | #define MAXQUEUELENGTH 1000000 |
35 | 35 | #define MAXLCPVALUE 65535 // 2^16 - 1 |
36 | 36 | #define MAXDOCS 65535 |
37 | | -//#define NUMCOLSFORTABLE 7 |
38 | 37 |
|
39 | 38 | #define AVX2_PRESENT __AVX2__ |
40 | 39 | #define AVX512BW_PRESENT __AVX512BW__ |
|
0 commit comments