Article View: alt.privacy.anon-server
Article #174917Re: benchmark win32 1.x hashcash.exe (Re: hashcash 1.04 released)
From: Thomas J. Boschloo
Date: Sat, 11 Sep 2004 23:14
Date: Sat, 11 Sep 2004 23:14
68 lines
3192 bytes
3192 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Adam Back wrote:
<snip>
| Note also it should not happen all that often accidentally because two
| users would have to send to the same end-recipient at the same 1/100th
| second interval on the same day. Not that this is intended as an excuse
| -- I fully agree it should be fixed.
Are you sure about this? I just created this small ansi-c program with
Borland C++ 5.5 and the output is below the program:
#include <stdio.h>
#include <time.h>
void main(void)
{
time_t t1, t2;
printf("clock()=%li\n", clock());
for(;;)
{
t1=t2;
do t2=time(0); while(t1==t2);
printf("time(0)=%li\n", t2);
}
}
C:>bcc32 rnd-test.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
rnd-test.c:
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
C:>rnd-test.exe
clock()=0
time(0)=1094944024
time(0)=1094944025
time(0)=1094944026
time(0)=1094944027
time(0)=1094944028
^C
C:>
The time(0) only changes each second, and clock() doesn't seem to return
anything under windows xp :-((( Changing clock() to float also doesn't
help (but I checked the include directory of Borland C++ which had it
written down as a long).
Any thoughts on this anyone?
Thomas
- --
Mean Guns, The Three Bears, Deedee: "So she is Goldilocks",
Lou: "Yeah, and you're a stupid",
Deedee: "I have just about had it with you Lou"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iQB5AwUBQUOG0wEP2l8iXKAJAQG2vgMdE+XlvDn66x6OAzLzXuXARFMnpf9gRVau
8i3UQN3UVN8c7ZsfvQ94qeEC2LIM6uZxIj+MxxZpPSZl9hcx6VP17/aRpq4vzlgs
Tz2LBm1UgqKYsGlYmG/u1v4yTocMc16FlW7S4Q==
=guLY
-----END PGP SIGNATURE-----
Technical Details
Message-ID:
<41438731$0$766$3a628fcd@reader20.nntp.hccnet.nl>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!transit.nntp.hccnet.nl!reader.nntp.hccnet.nl!not-for-mailReferences:
<413E57CC.8020508@cypherspace.org> <4142219A.9020605@cypherspace.org> <4142fc55$0$153$3a628fcd@reader2.nntp.hccnet.nl> <414373E8.4050407@cypherspace.org>Show Full Headers
Complete Article Headers
Message-ID: <41438731$0$766$3a628fcd@reader20.nntp.hccnet.nl> Subject: Re: benchmark win32 1.x hashcash.exe (Re: hashcash 1.04 released) Date: Sun, 12 Sep 2004 01:14:29 +0200 From: "Thomas J. Boschloo" <nospam@hccnet.nl.invalid> References: <413E57CC.8020508@cypherspace.org> <4142219A.9020605@cypherspace.org> <4142fc55$0$153$3a628fcd@reader2.nntp.hccnet.nl> <414373E8.4050407@cypherspace.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!transit.nntp.hccnet.nl!reader.nntp.hccnet.nl!not-for-mail Organization: The Lost Biro Project User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: alt.privacy.anon-server In-Reply-To: <414373E8.4050407@cypherspace.org> X-Enigmail-Version: 0.85.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 68 NNTP-Posting-Date: 11 Sep 2004 23:16:02 GMT NNTP-Posting-Host: 62.251.35.2 X-Trace: 1094944562 reader20.nntp.hccnet.nl 766 62.251.35.2:1039 X-Complaints-To: abuse@hccnet.nl