TIP: Click on subject to list as thread! ANSI
echo: quik_bas
to: Hans Andersson
from: Jasen Betts
date: 2004-03-27 20:06:48
subject: speed...

Hi Hans.

25-Mar-04 19:17:40, Hans Andersson wrote to Jasen Betts

 HA> I am playing with an old BBS program written i QBasic - reads
 HA> first in - start files - such as, config.dat, lang.dat, lang.ndx,
 HA> runtime.dat, opens a logfile and a members database, reads in
 HA> commands and area menus. Lots of string handling - for writing
 HA> messages and searching for files etc. Have a version written i C,
 HA> it is much slower reading/storing files and handling strings. It
 HA> feels quite slow and the code size is bigger also - about 220k.
 HA> Qbasic is only 150k and much faster

Yeah I see how that could be slow in C.  strings are one of the weak points
of C.

 -=> Bye <=-

---
* Origin: As King Arthur said: Some days it all seems so feudal. (3:640/1042)
SEEN-BY: 633/267 270
@PATH: 640/1042 531 954 774/605 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™.