delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/08/14/21:36:17

Date: Sat, 13 Aug 94 00:55:40 EDT
From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock)
To: olly AT mantis DOT co DOT uk
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Speed tuning programs
Reply-To: babcock AT cfa DOT harvard DOT edu

> What I'd like are any tips or suggestions for tweaking the performance
> of the DJGPP code to make it closer to the BCC code.

If you are doing a lot of I/O, it might help to use setbuf() or setvbuf() to
enlarge the buffers.  I've seen this make a dramatic improvement for programs
which do little more than copy a file.  Of course, this suggestion applies to
both the BCC and the djgpp versions.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019