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

-- 

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to