octave-maintainers
[Top][All Lists]
Advanced

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

Re: pkg netlist


From: Bob Weigel
Subject: Re: pkg netlist
Date: Mon, 05 Mar 2007 07:54:16 -0500
User-agent: KMail/1.8.2

> > |
> > | octave:1> md5sum("test string\n")
> > | ans = f299060e0383392ebeac64b714eca7e3
> > |
> > | % echo "test string" > foo; md5sum foo
> > | f299060e0383392ebeac64b714eca7e3  foo
> > |
> > | Shows that the code works.. The code is worked up as a patch against
> > | the CVS.

Hi David,

I think this is great addition.  I would like to suggest that the input should 
be either a file name or a string.  If a filename is found in the loadpath, 
the checksum for it is computed.  

Without a file name option, we'll be loading a file into memory (tar.gz) and 
passing it to md5.  For large files, it will be much faster to use a system 
call to a md5 binary (if it exists).

Bob




reply via email to

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