From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: Check for redundancy Date: Wed, 24 Jun 2015 23:10:49 +0200 Message-ID: <20150624211049.GA14854@tuxteam.de> References: <558A7875.4050905@easy-emacs.de> <24a1b328-82a8-44ff-8f8d-1425ab89ab67@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed X-Trace: ger.gmane.org 1435180277 28425 80.91.229.3 (24 Jun 2015 21:11:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Jun 2015 21:11:17 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 24 23:11:11 2015 Return-path: Envelope-to: geh-help-gnu-emacs@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 1Z7rwq-00041X-W2 for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Jun 2015 23:11:09 +0200 Original-Received: from localhost ([::1]:52935 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7rwq-0005po-C1 for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Jun 2015 17:11:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7rwe-0005pj-9a for help-gnu-emacs@gnu.org; Wed, 24 Jun 2015 17:10:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7rwa-0000Rd-Ve for help-gnu-emacs@gnu.org; Wed, 24 Jun 2015 17:10:56 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:37536 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7rwa-0000RK-Nk for help-gnu-emacs@gnu.org; Wed, 24 Jun 2015 17:10:52 -0400 Original-Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1Z7rwX-0003vU-4Z; Wed, 24 Jun 2015 23:10:49 +0200 In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:105129 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Jun 24, 2015 at 02:21:03PM -0400, Stefan Monnier wrote: > > The term is not specific to programming: expressing things which have been > > expressed already. > > Obviously, Drew knows that. The issue is that if you want to check for > redundancy in code, it's presumably by doing it with another piece of > code [...] To throw an unorthodox idea into the air, one could measure the compression ratio (e.g. with gzip) and relate it to the compression ratio of "known good" code (I know, I know... :-) - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlWLHNkACgkQBcgs9XrR2ka1MACeKYaTDS3aNmfwnO2JSYAVmXKx qfMAnj5A+eSEkW0UNdALNolFk1CoEIUc =6Zpf -----END PGP SIGNATURE-----