Re: How to speed up a script by threading?

Liste des GroupesRevenir à cl tcl 
Sujet : Re: How to speed up a script by threading?
De : saitology9 (at) *nospam* gmail.com (saito)
Groupes : comp.lang.tcl
Date : 19. Jul 2024, 13:51:22
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v7dngb$304h2$2@dont-email.me>
References : 1 2
User-Agent : Mozilla Thunderbird
On 7/19/2024 5:08 AM, Ralf Fassel wrote:
* Mark Summerfield <mark@qtrac.eu>
| The program below (~95 LOC) is very slow.
| One way to speed it up would be to process each directory given on the
| command line in its own thread.
| But I can't see how to do this.
| Or is there a better way to make it faster?
| I'm using Tcl/Tk 9.0b2 on Linux.
 Since you give the directories on the (linux) commandline, put the
one-thread-per-dir one level up:
 
On linux, it might be easier to just do "find"; it is quite fast.

Date Sujet#  Auteur
19 Jul 24 * How to speed up a script by threading?4Mark Summerfield
19 Jul 24 +* Re: How to speed up a script by threading?2Ralf Fassel
19 Jul 24 i`- Re: How to speed up a script by threading?1saito
19 Jul 24 `- Re: How to speed up a script by threading?1Harald Oehlmann

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal