Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!rochester!cornellcs!newsstand.cit.cornell.edu!portc01.blue.aol.com!news-peer.gsl.net!news.gsl.net!news.mathworks.com!fu-berlin.de!unlisys!blackbush.xlink.net!ins.net!heeg.de!hmm
From: hmm@heeg.de (Hans-Martin Mosner)
Subject: Re: Smalltalk CRC code?  (Cyclic Redundancy Check)
Message-ID: <Dztnv4.BzJ@heeg.de>
Sender: uucp@heeg.de
Organization: Georg Heeg Objektorientierte Systeme, Dortmund, FRG
X-Newsreader: TIN [version 1.2 PL2]
References: <327511e0.134988242@news.jumppoint.com>
Date: Fri, 25 Oct 1996 08:06:40 GMT
Lines: 22

Ian Upright (ian@peacesummit.com) wrote:
: Just offhand, if someone has a Smalltalk implementation of a 32-bit
: CRC checksum, I would be greatful for it, as porting from C is never
: one of my favorite passtimes.  =)

: Thanks, Ian

You might just as well use a C function using the DLL&C connect
or whatever C connection facility your Smalltalk has.
Yesterday I created an interface to the zlib (gzip compression/
decompression, has CRC funcs, too) in about 3 hours
(including adapting the code to support SunOS libz.so and Win32 ZLIB.DLL)
When you want to CRC large data blocks, this will also be the
solution with the best performance.

Hans-Martin

--
+--- Hans-Martin Mosner ---- Senior Smalltalk Guru :-) ---+
| These opinions are entirely ficticious.  Any similarity |
| to real opinions is purely coincidental and unintended. |
+--- <hmm@heeg.de> ------ URL:http://www.heeg.de/~hmm/ ---+
