From: Rainer Deyke (rdeyke_at_[hidden])
Date: 2020-09-23 11:39:22
On 23.09.20 11:04, Hans Dembinski via Boost wrote:
> You said yourself that Boost.JSON is not as efficient as it could be during the conversion of "my data type" to JSON, because the existing data has to be copied into the json::value first. I am a young member of the Boost family, but my feeling is that this would have been a reason to reject the design in the past. Designing abstractions that enable users to get maximum performance if they want it is a core value of C++.
Actually, some of the oldest Boost libraries have (had) atrocious
performance. Early Boost libraries were often more concerned with how
to do something at all (within the limitations of C++03) than with how
to do it efficiently.
-- Rainer Deyke (rainerd_at_[hidden])
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk