yrosseel/lavaan — pull request #4 by michaelhallquist (2012-05-25 01:09:57+00:00)
Title: Regular expressions updates in parseModelString

Hi Yves,

Great to see you in Connecticut, and I hope your trip home was uneventful. I took a quick look at parseModelString and made a few improvements to the use of regular expressions in the first chunk. I didn't have a chance to walk through the whole parser, just the first 10-15 lines. Anyway, the tweaks here improved the speed of the routine by about 5% on my machine -- not that it was particularly costly to begin with. I'll try to work through the rest of the parser with an eye toward improving the regular expression usage and efficiency.

Hope that helps,
Michael