octave-maintainers
[Top][All Lists]
Advanced

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

Re: pkg netlist


From: John W. Eaton
Subject: Re: pkg netlist
Date: Mon, 5 Mar 2007 13:36:12 -0500

On  5-Mar-2007, David Bateman wrote:

| I'm not sure that
| 
| fid = fopen (file, "rb")
| buf = fread(fid)
| fclose(fid)
| md5 = md5sum(char(buf)')
| 
| won't be as fast..

Won't this be slow for very large files if the system is forced to
swap?

If we do handle files and character strings, then please use an option
or separate function names (smd5sum/fmd5sum ?).  I would not want to
see this function deciding which operation to perform based on the
value of the string that is passed.

jwe


reply via email to

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