TIP: Click on subject to list as thread! ANSI
echo: perl
to: Russell Tiedt
from: Maurice Kinal
date: 2005-02-12 09:24:10
subject: talking to myself

Hey Russell!

Feb 11 17:32 05, Russell Tiedt wrote to Maurice Kinal:

 RT> A MSGID is a valued item here, especially when it comes to dupe 
 RT> checking, so 
 RT> if you are able to generate them fast enough, then please do so.

Generating them fast isn't a big issue but making them meaningful is a tad
tricky given the accepted "standard", if I can be so bold as to
call it a "standard".

If based on time and/or date (is there a difference?) then it slows things
down and given the current limitation makes it even trickier and slower. 
That is why I thought a base ID at the start and incrementation within a
loop for multiple messages might be a better objective as it wouldn't add
any extra calls and is faster then calling localtime for each one, which
will produce dupes that aren't dupes if limited to seconds on a fast
machine.  This way it won't matter even if the machine is slow enough to
produce unique IDs using seconds.  This method does speed things up and
should produce unique IDs for whatever length of years as bits allocated to
the "year" employed.

Life is good,
Maurice

--- Msged/LNX 6.1.2
* Origin: The Pointy Stick Society X1V - Louis Who? (1:261/38.9)
SEEN-BY: 633/267 270
@PATH: 261/38 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.