For Programmers: Free Programming Magazines  


Home > Archive > Smalltalk > September 2005 > CRC checksum code









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author CRC checksum code
Ivan Tomek

2005-09-07, 7:01 pm

Hi,

Is anybody aware of a Smalltalk implementation of a CRC checksum algorithm?

Thanks.

Ivan

Eliot Miranda

2005-09-07, 7:01 pm



Ivan Tomek wrote:

> Hi,
>
> Is anybody aware of a Smalltalk implementation of a CRC checksum algorithm?
>
> Thanks.
>
> Ivan


There's one in base VisualWorks. Terry Raymond provided CRCFunction as
part of the Professional Debug Package.
>


--
_______________,,,^..^,,,____________________________
Eliot Miranda Smalltalk - Scene not herd

Ivan Tomek

2005-09-08, 7:00 pm

Thanks Eliot. Actually, it's called CRC32Function :-) I searched for it
in the Parcel Manager and the search was not quite obvious (my fault).

I suggest that the future Parcel Manager allow display of all classes in
all (selected) parcels, and a search over class names. This would
simplify some searches and general browsing.

Ivan


Eliot Miranda wrote:

>
>
> Ivan Tomek wrote:
>
>
>
> There's one in base VisualWorks. Terry Raymond provided CRCFunction as
> part of the Professional Debug Package.
>
>


Steven Kelly

2005-09-12, 3:57 am


"Ivan Tomek" <ivan.tomek@acadiau.ca> wrote in message
news:dfpemv$ftv$1@poseidon.acadiau.ca...
> I suggest that the future Parcel Manager allow display of all
> classes in all (selected) parcels, and a search over class names.
> This would simplify some searches and general browsing.


Try loading the Parcel Load Browser
(vw7.3.1\goodies\parc\ParcelLoadBrowser.pcl). It allows searching by
class. It could be faster, as Eliot pointed out on vwnc (24 Oct 2001):

"Has anybody looked at using the parcel loaer rather than the source
scanner? i.e. one of the first things the parcel loader does is read
in the sequience of classes defined by a parcel. See
CodeReader>>#readPackage and #readPackageClasses. A subclass could
override #readFrom:, #readFromFile: and readPackage and simply collect
the classs names without any source parsing. This should be far
faster."

HTH,
Steve



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com