das-labor / neopg

The multiversal cryptoengine!
Other
216 stars 16 forks source link

Integrate taocpp::json #69

Closed ColinH closed 6 years ago

ColinH commented 6 years ago

This pull request

Note that tao::optional is a part of taocpp/json because JSON needs an optional in its API, and we include a copy of an experimental optional to keep compatibility with C++11.

codecov[bot] commented 6 years ago

Codecov Report

Merging #69 into master will increase coverage by 0.12%. The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #69      +/-   ##
==========================================
+ Coverage   16.76%   16.89%   +0.12%     
==========================================
  Files         184      183       -1     
  Lines       31025    30793     -232     
==========================================
  Hits         5202     5202              
+ Misses      25823    25591     -232
lambdafu commented 6 years ago

Ok, thanks. Migrating away from boost for standard stuff is certainly desirable. I am not invested heavily in nlohmann/json at this point, but I am invested in pegtl and taocpp/json is powerful and fast, so I don't mind migrating. There is a performance comparison at https://github.com/miloyip/nativejson-benchmark, where taocpp/json comes out ahead of nlohmann in performance, although not in code size.