| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | PDPCLIB |
I was interested in your PDPCLIB - although as it was written for OS2 a
lot more work would be required to write a version for DOS.
As a first step I ran the performance tests using perf*.c and got the
following results:
fgets on text files
-------------------
Executing - perf2
pcc time 38.51 seconds
bcc time 25.71 seconds
large freads on binary files
----------------------------
Executing - perf3
pcc time 4.23 seconds
bcc time 22.41 seconds
small freads on binary files
----------------------------
Executing - perf4
pcc time 5.60 seconds
bcc time 24.94 seconds
I used a 386DX40 with a RAM disk running under DOS 6.2
bcc = Borland C++ 3.1
pcc = Pacific C Compiler for MSDOS v7.44
Apart from the poor results for fgets on text, Pacific compares
favourably (with Borland). I am at a loss to explain this - even though
it only uses a 1024 char buffer this should not make that much
difference.
I will try adapting some of the PDPCLIB code. Would you consider including
typedefs for user defined types ULONG etc are obvious, but APIRET? I
assume these are in OS2.h?
--- Blue Wave/386 v2.30
* Origin: Sydney PC Users Group Mail Exchange (3:712/505)SEEN-BY: 50/99 620/243 623/630 711/401 409 410 413 430 808 809 934 712/311 SEEN-BY: 712/390 407 411 505 506 515 517 617 624 704 820 713/888 714/906 SEEN-BY: 800/1 @PATH: 712/505 517 515 711/808 934 |
|
| 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™.