[cmake-developers] dev/custom-parsers topic (was: Branches on next)

Brad King brad.king at kitware.com
Tue Feb 11 15:54:40 EST 2014


On 02/11/2014 02:49 PM, Ben Boeckel wrote:
> dev/custom-parsers

cmMakefile::ExpandVariablesInString has long been ripe for
optimization.  Thanks for working on it.

Why does each level in the openstack need to hold its "lookup"
member?  Can't everything be stored in-place in the work buffer?
Each openstack level just needs to track the start character in
the work buffer.  When that level is closed the work buffer
should contain the exact lookup string from the open position
to the end.  Then PUSH((x)) can be replaced with just
"work.append(x)".

-Brad




More information about the cmake-developers mailing list