|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2024-12-04 20:07:39
Ivan Matek wrote:
> Would in theory would it be possible to detect those regions with Describe and
> fuse the append calls?
It is in theory, but in practice you'd see much bigger gains if you make sure
your class has no padding and mark it as trivially equality comparable.
vector<MyStruct>, for example, will then use a single update call for the entire
element array.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk