[cmake-developers] dev/custom-parsers topic (was: Branches on next)
Ben Boeckel
ben.boeckel at kitware.com
Tue Feb 11 17:30:55 EST 2014
On Tue, Feb 11, 2014 at 15:54:40 -0500, Brad King wrote:
> Why does each level in the openstack need to hold its "lookup"
> member? Can't everything be stored in-place in the work buffer?
< in-person discussion of the algorithm >
After looking at the implementation, it may not save much since we'll
need to make a std::string to call out to GetDefinitions anyways pending
dev/string-apis, so the need to make strings exists already, so just
using char* references into the result array won't save a construction
(a string is made down below when calling .find() on the variable
storage, so even making an overload won't save a string construction).
--Ben
More information about the cmake-developers
mailing list