octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

strread.m (was: Re: Release goals for 3.6)


From: John W. Eaton
Subject: strread.m (was: Re: Release goals for 3.6)
Date: Tue, 2 Aug 2011 16:28:41 -0400

On  2-Aug-2011, PhilipNienhuis wrote:

| Lately I've been working on textscan / textread / strread (aided by Rik), so
| I can give a little background info.
| 
| The real work for textscan is done in strread.m  
| Given the current state of strread.m in the dev sources I think you wouldn't
| need to spend time on format conversion specifiers, at least for now.

I'm happy to not have to do anything, but it seems to me that a script
to do this job will be slow, especially for large files.

Maybe I don't remember correctly, but I thought that previous versions
of strread converted format specifiers to something that could be used
by scanf, then called scanf, and that this approach would not work for
a number of the format specifiers that are needed by strread.  But
that doesn't seem to be the way strread currently works, so maybe you
can solve all the problems without needing a modified scanf-style
function in C++.

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]