Stuff C
Stuff C
| Filename | stuff-c.hqx |
|---|---|
| Size | 57.0 KB (58353 bytes) |
| Architecture | PowerPCFat Binary |
| Downloads | 3 |
Enjoying MacTrove?
Anonymous downloads are free and unlimited.
Create a free account to track favorites,
contribute metadata corrections, and join the
community chat.
About
--========================_13840704==_ Content-Type: text/plain; charset="us-ascii"
Here's something that I knocked up over the bank holiday weekend which might be of interest. Let me know what you think. Cheers JRRK
Macintosh users might be interested in my attempt to evaluate the performance of the power PC in a 'real' rather than a benchmark situation. What follows is the source code and FAT binary for a mini drag-and-drop archiver which uses the IEEE compress algorithm and hence is compatible with the original "stuffit".
For maximum learning value I tried to make the source compatible with both of the Metrowerks compilers and the traditional THINK_C style of headers. The only real difference in a small program like this is the use of universal proc pointers to handle the apple events required for drag-and-drop operation.
Since I couldn't find a better way of doing it I made the FAT binary by manually merging the 68000 version with the powerPC output of the Metrowerks Linker using ResEdit. Despite the 'FAT' designation it is only 24K which might be regarded as acceptable.
On a 6100/60 the emulated version of the program knocks an LC-III into a cocked-hat, but the native version achieves possibly only a 50% speedup over the emulated version. I attribute this surprising result to the relatively frequent use of toolbox calls during the operation in order to keep buffer sizes small, and of course the fact that the compiler is only an alpha version.
File Info
This file is part of the MacTrove archive. See the Thank You page for the upstream mirrors we rely on. It is BinHex encoded — use The Unarchiver to decode it.
Discussed on the forums
Related apps