www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/01/19/11:05:45

X-Authentication-Warning: kendall.sfbr.org: jeffw set sender to jeffw AT darwin DOT sfbr DOT org using -f
Date: Fri, 19 Jan 2001 10:06:41 -0600
From: JT Williams <jeffw AT darwin DOT sfbr DOT org>
To: djgpp AT delorie DOT com
Subject: increasing speed of scripts
Message-ID: <20010119100641.A3666@kendall.sfbr.org>
Mail-Followup-To: djgpp AT delorie DOT com
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
Reply-To: djgpp AT delorie DOT com

All other things being equal, what could be done to increase the
execution speed of a complex series of shell scripts?  For example:

o  source an included script with `. foo' than let foo run in its
   own subshell (#!/bin/sh)?

o  convert small include scripts to functions within the main script?

o  integrate the scripts into as few files as possible?

TIA/jtw

- Raw text -


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