#include "mstch/mstch.hpp" int main() { std::string comment_tmp{ "

{{header}}

" }; auto comment_view = mstch::object{ {"header", std::string{"My Post Comments"}}, {"comments", mstch::array{ mstch::object{{"name", std::string{"Joe"}}, {"body", std::string{"Thanks for this post!"}}}, mstch::object{{"name", std::string{"Sam"}}, {"body", std::string{"Thanks for this post!"}}}, mstch::object{{"name", std::string{"Heather"}}, {"body", std::string{"Thanks for this post!"}}}, mstch::object{{"name", std::string{"Kathy"}}, {"body", std::string{"Thanks for this post!"}}}, mstch::object{{"name", std::string{"George"}}, {"body", std::string{"Thanks for this post!"}}} }} }; for(int i = 0; i < 5000; i++) mstch::render(comment_tmp, comment_view); return 0; }