MCPcopy Create free account
hub / github.com/BYVoid/OpenCC / InitializationConfigs

Function InitializationConfigs

src/benchmark/Performance.cpp:402–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400}
401
402std::vector<std::string> InitializationConfigs() {
403 std::vector<std::string> configs = {
404 "hk2s", "hk2t", "jp2t", "s2hk", "s2t", "s2tw", "s2twp",
405 "t2hk", "t2jp", "t2s", "t2tw", "tw2s", "tw2sp", "tw2t",
406 };
407#ifdef OPENCC_BENCHMARK_JIEBA_CONFIG_DIR
408 configs.push_back("s2twp_jieba");
409#endif
410 return configs;
411}
412
413std::vector<std::string> ConversionConfigs() {
414 std::vector<std::string> configs = {"s2t", "s2twp"};

Callers 1

RegisterBenchmarksFunction · 0.85

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected