Speed of csvReader

Brad Anderson via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jan 21 14:15:30 PST 2016


On Thursday, 21 January 2016 at 22:13:38 UTC, Brad Anderson wrote:
> On Thursday, 21 January 2016 at 21:24:49 UTC, H. S. Teoh wrote:
>> [...]
>
> What about wrapping the slices in a range-like interface that 
> would unescape the quotes on demand? You could even set a flag 
> on it during the initial pass to say the field has double 
> quotes that need to be escaped so it doesn't need to take a 
> per-pop performance hit checking for double quotes (that's 
> probably a pretty minor boost, if any, though).

Oh, you discussed range-based later. I should have finished 
reading before replying.


More information about the Digitalmars-d-learn mailing list