From owner-freebsd-performance@freebsd.org Tue May 2 11:37:45 2017 Return-Path: Delivered-To: freebsd-performance@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4D1D8D594A4 for ; Tue, 2 May 2017 11:37:45 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 09B7ADED for ; Tue, 2 May 2017 11:37:43 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 3564828426 for ; Tue, 2 May 2017 13:29:25 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 4E4D12848F for ; Tue, 2 May 2017 13:29:24 +0200 (CEST) To: "freebsd-performance@freebsd.org" From: Miroslav Lachman <000.fbsd@quip.cz> Subject: interesting comparison of glob matching Message-ID: <59086D93.3050708@quip.cz> Date: Tue, 2 May 2017 13:29:23 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 May 2017 11:37:45 -0000 There is interesting comparison of implementation in different shells (csh, tcsh, bash, dash...) in different application or different libraries (glibc, BSD libc, MacOS) Glob Matching Can Be Simple And Fast Too https://research.swtch.com/glob I am not the author of tests. Miroslav Lachman