From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: On tabs and spaces Date: Thu, 15 Jan 2015 13:17:20 +0300 Message-ID: <54B793B0.8070909@yandex.ru> References: <54B6FA42.6000608@yandex.ru> <87a91kfjry.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1421317072 8017 80.91.229.3 (15 Jan 2015 10:17:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Jan 2015 10:17:52 +0000 (UTC) Cc: bruce.connor.am@gmail.com, emacs-devel To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 15 11:17:46 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YBhUo-0007UI-0B for ged-emacs-devel@m.gmane.org; Thu, 15 Jan 2015 11:17:46 +0100 Original-Received: from localhost ([::1]:49918 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBhUn-0003At-2C for ged-emacs-devel@m.gmane.org; Thu, 15 Jan 2015 05:17:45 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBhUZ-00039x-0d for emacs-devel@gnu.org; Thu, 15 Jan 2015 05:17:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YBhUU-0003Ke-TT for emacs-devel@gnu.org; Thu, 15 Jan 2015 05:17:30 -0500 Original-Received: from mail-lb0-x22f.google.com ([2a00:1450:4010:c04::22f]:47341) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBhUU-0003KW-LS; Thu, 15 Jan 2015 05:17:26 -0500 Original-Received: by mail-lb0-f175.google.com with SMTP id z11so12481289lbi.6; Thu, 15 Jan 2015 02:17:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=fzkIMkWM9/5huZK7n2ToQR3N57ftjaiwhl1K5aeansw=; b=mne8kpTIXSeb+oHzAsVfv8BXwS7/Xdf2o9ilDt/E9kH3xC1jEQrRonhVLKsEN6k3jn wUjGr37m+lB5IAGrYqHCGVBJmDJUUPmArce2aXzIN5mTp78kFgZeJdmZTfRWz/3sniK3 JXYWqVnvCUH6q+Eno/cCdcNnpI7ZOqSfNvhnAQ1scrv52gTRvqbcvA76MlirlPAuikX2 7E9UuPTE1lRPjAiyYbB0to9X+suUAWLt9iYkCWOZ5kjxtpjtzGqs3iqq9WHnwkrcUu6k 4jjkeWWf0qOyxXZObtPc47n3ZhF2gB/ntwV8v8d8GQaVyvqnmmkXI2T2dtnuBqIKe29D CgMw== X-Received: by 10.152.30.6 with SMTP id o6mr9020914lah.64.1421317045905; Thu, 15 Jan 2015 02:17:25 -0800 (PST) Original-Received: from [192.168.1.3] ([178.252.98.87]) by mx.google.com with ESMTPSA id ql3sm416133lbb.48.2015.01.15.02.17.25 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Jan 2015 02:17:25 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Thunderbird/33.0 In-Reply-To: <87a91kfjry.fsf@fencepost.gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:181283 Archived-At: On 01/15/2015 12:57 PM, David Kastrup wrote: > git blame does not spend that much of its time diffing. Even if the > difference between plain and -w has become larger with Git 2.1+ (simply > because it wastes vastly less time with other endeavors), the bulk of > the run time is likely spent in unpacking files from the repository > rather than comparing them. Would you consider this kind of difference of no consequence? $ time git blame src/xdisp.c >/dev/null real 0m11.875s user 0m10.753s sys 0m0.583s $ time git blame -w src/xdisp.c >/dev/null real 0m17.127s user 0m16.779s sys 0m0.356s > If you use a Git version older than 2.1 2.1.0 here. But anyway, I distinctly remember the performance of blaming being one of the reasons why we shouldn't do whitespace-cleaning across the repository.