Re: StringBuilder Extension: IsQuotedBy
Brady Kelly <[email protected]> Thu, 14 Feb 2008 16:43:23 +0200
| Newsgroups | gmane.comp.windows.devel.dotnet.clr |
|---|---|
| Message-ID | <[email protected]> |
> It is only one example, and a case where hand-coding a parser can be > done in a reasonable time, but my CSV reader still beats hand down any > other NFA/DFA based parser (15x vs regexp and 5x vs GoldParser, with a > parsing expr./grammar not supporting multiline fields which mine > does). > > http://www.codeproject.com/KB/database/CsvReader.aspx > http://www.devincook.com/goldparser/ > > Sébastien At first glance yours does not support multi-character tokens, such as separators. I think this brings us back to one of the original replies to my OP, that I should optimise a case for the more common scenario of single character tokens, which I believe is what your parser does very well. =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com