From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7609 invoked by alias); 4 Nov 2007 04:03:51 -0000 Received: (qmail 7599 invoked by uid 22791); 4 Nov 2007 04:03:51 -0000 X-Spam-Check-By: sourceware.org Received: from nitzan.inter.net.il (HELO nitzan.inter.net.il) (213.8.233.22) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 04 Nov 2007 04:03:48 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-228-244-58.inter.net.il [84.228.244.58]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id IFL72599 (AUTH halo1); Sun, 4 Nov 2007 06:00:09 +0200 (IST) Date: Sun, 04 Nov 2007 04:03:00 -0000 Message-Id: From: Eli Zaretskii To: drow@false.org CC: gdb-patches@sourceware.org, ukleinek@informatik.uni-freiburg.de, jimb@codesourcery.com In-reply-to: (message from Eli Zaretskii on Sun, 04 Nov 2007 00:06:58 +0200) Subject: Re: [rfa] Clarify remote protocol RLE example Reply-to: Eli Zaretskii References: <20071103161956.GA7885@caradoc.them.org> <20071103191822.GA17820@caradoc.them.org> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-11/txt/msg00037.txt.bz2 > Date: Sun, 04 Nov 2007 00:06:58 +0200 > From: Eli Zaretskii > CC: gdb-patches@sourceware.org, ukleinek@informatik.uni-freiburg.de, jimb@codesourcery.com > > > Date: Sat, 3 Nov 2007 15:18:22 -0400 > > From: Daniel Jacobowitz > > Cc: gdb-patches@sourceware.org, ukleinek@informatik.uni-freiburg.de, > > Jim Blandy > > > > On Sat, Nov 03, 2007 at 09:01:21PM +0200, Eli Zaretskii wrote: > > > Response @var{data} can be run-length encoded to save space. > > > Run-length encoding replaces runs of identical characters with the > > > character @samp{*} followed by a repeat count. > > > > How about "with an initial character, the character @samp{*}, and a > > repeat count"? With that, I quite like your version. > > How about > > Run-length encoding replaces runs of identical characters with a > @samp{*} followed by a repeat count. > > ? Sorry, I now realize that I misunderstood the reason why you used the "initial character". You meant the repeated character itself, right? Then how about this variant: Run-length encoding replaces runs of identical characters with one instance of the repeated character, followed by a @samp{*} and a repeat count.