Jittapan Pluemsumran d1b7061f5a
YAML loading optimization (#5997)
* Use rapidyaml library to parse YAML databases instead of yaml-cpp.
* Drastically reduces the parse time for yaml databases.
* Removes yaml-cpp content from main servers, except for tool emitter.
Co-authored-by: Vincent Stumpf <vincents.995@gmail.com>
Co-authored-by: Atemo <capucrath@gmail.com>
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
Co-authored-by: Aleos <aleos89@users.noreply.github.com>
2022-03-30 16:38:52 -04:00

567 B

ROADMAP

New features

These changes will provide new features, and client code can be kept unchanged.

API changes

These changes will require client code to be updated.

  • [breaking] drop use of C-style sprintf() formats in error messages and assertions. Change the implementation to use c4::format()
    C4_ASSERT_MSG(sz > s.size(), "sz=%zu s.size()=%zu", sz, s.size());
    // ... the above changes to:
    C4_ASSERT_MSG(sz > s.size(), "sz={} s.size()={}", sz, s.size());
    

Implementation changes

  • drop calls to sprintf() in charconv.hpp.