delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/08/07/15:38:39

Message-Id: <199908071919.TAA94618@out4.ibm.net>
From: "Mark E." <snowball3 AT bigfoot DOT com>
To: djgpp-workers AT delorie DOT com
Date: Sat, 7 Aug 1999 15:20:22 -0400
MIME-Version: 1.0
Subject: suggestion for getenv.c
X-mailer: Pegasus Mail for Win32 (v3.11)
Reply-To: djgpp-workers AT delorie DOT com

Greetings,
Since _put_path2 is designed to be as fast as possible and that the speed of the 
'/dev/env' depends on the speed of getenv, what about adding some form of caching to 
getenv to help out '/dev/env/'? Or least cache DJDIR since it is likely to be the 
variable most often referenced using the '/dev/env/' feature?

Mark

--- 
Mark Elbrecht, snowball3 AT bigfoot DOT com
http://snowball.frogspace.net/

- Raw text -


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