On 05/13/2015 08:49 AM, OndÅej BÃlka wrote: > Hi, as I read Paul's wordexp patch I found that you use inefficient > idiom. Checking character membership with strchr is slow due to startup > cost. Much better is just use table lookup. How did you test it was faster? Could you please add a wordexp microbenchmark to show the gains? Cheers, Carlos.