Closed DTraitor closed 1 year ago
After replacing property_tree with rapidJSON it appears sending messages became a bit slower. Feel free to play around with rapidJSON fork: https://github.com/DTraitor/tgbot-cpp/tree/rapidjson (note, not all optional values are "implemented", some don't call a function to check if field with them exists in the JSON)
Closing for now
Moving to a native json solution would definitely increase performance (I'll try to measure the difference when I have time) and make the code a little less clunkier.
P.S. If the idea is supported - I am ready to implement it myself