Currently, some regexp stuff is on top of the list:

                0.00    0.00       1/402 boost::reg_expression<char, 
boost::regex_traits<char>, std::allocator<char> >::reg_expression[in-charge](char 
const*, u nsigned, std::allocator<char> const&) [242]
                0.00    0.00       3/402 boost::RegEx::SetExpression(char const*, 
bool) [183]
                0.00    0.13     398/402 
lyx::support::ReplaceEnvironmentPath(std::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&) [16
]
[15]    21.0    0.00    0.14     402         boost::reg_expression<char, 
boost::regex_traits<char>, std::allocator<char> >::set_expression(char const*, char 
const*, uns
igned) [15]
[...]


So 'lyx::support::ReplaceEnvironmentPath' curently wastes about 20% of
the time used by  lyx startup + UserGuide loading.

This does not seem right.

Does anybody feel a bit guilty? 

Andre'

Reply via email to