From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eighty Megabytes Newsgroups: gmane.emacs.help Subject: Does emacs cache something on windows when invoking call-process? Date: Tue, 9 Jul 2019 16:03:39 +0200 (CEST) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="141607"; mail-complaints-to="usenet@blaine.gmane.org" To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 09 16:51:03 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hkrSR-000a45-7m for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Jul 2019 16:51:03 +0200 Original-Received: from localhost ([::1]:50656 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkrLB-0008Pn-6m for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Jul 2019 10:43:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53198) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkqim-0005yM-73 for help-gnu-emacs@gnu.org; Tue, 09 Jul 2019 10:03:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hkqik-0005ox-MU for help-gnu-emacs@gnu.org; Tue, 09 Jul 2019 10:03:52 -0400 Original-Received: from fmfe37.onbox.hu ([46.107.16.242]:42579 helo=web-out.onbox.hu) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hkqik-0005lm-4R for help-gnu-emacs@gnu.org; Tue, 09 Jul 2019 10:03:50 -0400 X-fm-smtp-source: yes Original-Received: from localhost (localhost [94.21.246.135]) by web-out.onbox.hu (Postfix) with SMTP id 45jkZ30F4JzbMm for ; Tue, 9 Jul 2019 16:03:39 +0200 (CEST) X-AccountId: 57978162 X-Originating-Ip: 94.21.246.135 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduvddrgedvgdejgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdcuhfftgffgofetkffnnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffkufggtgfvihffsegrtdersgdttddunecuhfhrohhmpefgihhghhhthicuofgvghgrsgihthgvshcuoegvmhgrtghsuhhsvghrsehfrhgvvghmrghilhdrhhhuqeenucfkphepleegrddvuddrvdegiedrudefheenucfrrghrrghmpehhvghloheppdhinhgvthepleegrddvuddrvdegiedrudefhedpmhgrihhlfhhrohhmpegvmhgrtghsuhhsvghrsehfrhgvvghmrghilhdrhhhupdhrtghpthhtohephhgvlhhpqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=simple/relaxed; t=1562681019; s=20181004; d=freemail.hu; h=From:Message-ID:Subject:MIME-Version:Content-Type:To:Date; l=1891; bh=zd0+CqVWFtIxUzCCG+AW+dplkgsUuzDSo+8ghe8++Pc=; b=nEv2pJbIy4/ZuLa/jW5RM8Qgv9cT69KQ9keWOZeHrpY1Y5lE8gpdylP+WWTBCrdY h97Hg8jDEyH7LMqQ23KzPX+fXhvmzO9V1wWujw7Dgu9Rf5NZJP1vFhg5uLcocGUP9Lg eW7aew/dG1fnIvOl8pZ6pFmqPBPRam9ZFxSCTpFlg7DCySyoWdSjmViKZ7i4TmgJycB Frqe2FlVm688G8SuRGVE7TXx8DPB37qPChdRnLknHSWFPa0GvSyx5SSGK4whpnESWay VH8B714Wm4JE/5sK9FVeWcnlJNeVatu8H0uND3GrR3tdD4aO5z/TrGgNDKCLRbKwK4t gCX1XKpeAw== X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 46.107.16.242 X-Mailman-Approved-At: Tue, 09 Jul 2019 10:42:29 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:121123 Archived-At: I have the same search command line which is practically instantaneous in t= he windows command prompt, but it takes several seconds when executed via c= all-process. So I try it in the command prompt, it's instantaneous. Then I try the same command line from emacs via call-process and it takes s= everal seconds. Subsequent calls via call-process are instantaneous until I don't use the f= eature for a while. Then the next invocation from emacs becomes slow again. So this behavior raises 2 questions: 1. Why is the same command much slower when invoked via call-process? 2. What does that first call-process call does/caches in emacs which makes = subsequent calls quick until it forgets something and it's slow again? =C2=A0