Re: 1.03pr6 fix for getopt & recent bugs

Jonathan Morton <[email protected]>
Newsgroups gmane.mail.spam.hashcash
Message-ID <[email protected]>
> I think as good a test as any is if you can mint like
> this:
>
> 	./hashcash -mXb10 foo
>
> (ie without giving -r which I think was one of the problems Atom
> reported that would have failed on BSD due to non GNU getopt).

arowana:~/Desktop/hashcash-1.03 chromi$ ./hashcash -mXb10 foo
collisions = 64200
time estimate: 0 seconds (2 milli-seconds)
X-Hashcash: 1:10:040902:foo::seq16tNIwlP0naeX:000000H9
arowana:~/Desktop/hashcash-1.03 chromi$ uname -a
Darwin arowana.chromatix.org.uk 7.5.0 Darwin Kernel Version 7.5.0: Thu 
Aug  5 19:26:16 PDT 2004; root:xnu/xnu-517.7.21.obj~3/RELEASE_PPC  
Power Macintosh powerpc

> Remaining issue from CHANGELOG to release this as 1.04:
>
> 	* one remaining issue to fix in pr7: time the right thing in
>           hashcash_per_sec -- we're still calling find_collision(
>           ... step = 100 ) and we need to call the CHROMATIX code
> 	  somehow.

I'll get on this one - you need a libfastmint function for getting a 
quick, single-core benchmark, right?  While I'm at it, I'll also 
implement SIGILL catching for the MMX detector, which should eliminate 
the need for separate i386 and MMX targets.

(Question: does the Cyrix 5x86 support CPUID?  If not, it would make a 
suitable test platform for this.  So would my old 486, but it's taking 
it's sweet time over installing Linux, so may not be ready for several 
more days.)

--------------------------------------------------------------
from:     Jonathan "Chromatix" Morton
mail:     [email protected]
website:  http://www.chromatix.uklinux.net/
tagline:  The key to knowledge is not to rely on people to teach you it.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.