www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/01/21/19:06:31

From: Jason Green <news AT jgreen4 DOT fsnet DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: increasing speed of scripts
Date: Sun, 21 Jan 2001 22:51:15 +0000
Organization: Customer of Energis Squared
Lines: 13
Message-ID: <pppm6tcb7b5ncenpguulja3boq9o5enlfa@4ax.com>
References: <20010119100641 DOT A3666 AT kendall DOT sfbr DOT org>
NNTP-Posting-Host: modem-176.silicon.dialup.pol.co.uk
Mime-Version: 1.0
X-Trace: newsg1.svr.pol.co.uk 980117487 5778 62.136.13.176 (21 Jan 2001 22:51:27 GMT)
NNTP-Posting-Date: 21 Jan 2001 22:51:27 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Newsreader: Forte Agent 1.7/32.534
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

JT Williams <jeffw AT darwin DOT sfbr DOT org> wrote:

> 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?

You could try this in comp.unix.shell ...

- Raw text -


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