Boost logo

Boost :

Subject: Re: [boost] [xpressive] Performance Tuning?
From: Dave Jenkins (david_at_[hidden])
Date: 2009-07-01 16:50:37

> Whoa! The performance just shot up to a mere 6X the custom code (from
> 175X). That might well be fast enough to keep the Xpressive version
> because of its readability!

Can you create thread-local match_results objects and reuse them? If so, I
think you'll see parsing dwindle to almost nothing and your semantic actions
will account for the bulk of the time spent.

Dave Jenkins

Boost list run by bdawes at, gregod at, cpdaniel at, john at