From: "Alexander Bokovoy" <ab@altlinux.org>
To: "ALT Linux Team development discussions" <devel@lists.altlinux.org>
Subject: Re: [devel] rpm: rsyncable deflate vs LZMA
Date: Fri, 30 May 2008 00:16:42 +0400
Message-ID: <6062a6e60805291316x511b9a0fk9c18afc98ef30fe5@mail.gmail.com> (raw)
In-Reply-To: <20080529195000.GO7996@solemn.turbinal>
29 мая 2008 г. 23:50 пользователь Alexey Tourbin <at@altlinux.ru> написал:
> On Thu, May 29, 2008 at 10:37:44PM +0400, Dmitry V. Levin wrote:
>> On Thu, May 29, 2008 at 05:28:39PM +0400, Alexander Bokovoy wrote:
>> [...]
>> > Я в этом деле лицо скорее заинтересованное, но я бы выбрал rsyncable
>> > против lzma, потому что это дает следующие преимущества:
>> > 1. Позволяет более полно использовать состояние зеркала на стороне пользователя.
>>
>> Несмотря на неизменность большинства файлов, и постоянные переименования
>> большинства из оставшихся файлов?
>
> В следующих случаях:
> rsync -y dir1/file dir2/
> rsync -y dir1/ dir2/
>
> при отсутствии dir2/file (destination file с таким же названием)
> rsync будет искать dir2/other_file с названием, "наиболее похожим
> на file". То есть, с опцией -y, по идее, переименование rpm пакетов
> вследствие увеличения релиза должно отслеживаться. Правда, я не
> смотрел в код rsync.
/* This is an implementation of the Levenshtein distance algorithm. It
* was implemented to avoid needing a two-dimensional matrix (to save
* memory). It was also tweaked to try to factor in the ASCII distance
* between changed characters as a minor distance quantity. The normal
* Levenshtein units of distance (each signifying a single change between
* the two strings) are defined as a "UNIT". */
Так что это немного модифицированный алгоритм Левенштейна.
--
/ Alexander Bokovoy
next prev parent reply other threads:[~2008-05-29 20:16 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-29 12:38 Alexey Tourbin
2008-05-29 13:28 ` Alexander Bokovoy
2008-05-29 16:50 ` Alexey Tourbin
2008-05-29 18:37 ` Dmitry V. Levin
2008-05-29 19:50 ` Alexey Tourbin
2008-05-29 20:13 ` Alexey Tourbin
2008-05-29 20:28 ` Led
2008-05-29 20:42 ` Alexey Tourbin
2008-05-29 20:16 ` Alexander Bokovoy [this message]
2008-05-29 21:31 ` Alexey Tourbin
2008-05-29 21:56 ` Dmitry V. Levin
2008-05-29 23:23 ` Alexey Tourbin
2008-05-30 21:31 ` Alexey Tourbin
2008-05-31 10:09 ` [devel] rsyncability test: openoffice Alexey Tourbin
2008-05-30 9:27 ` [devel] rpm: rsyncable deflate vs LZMA Alexey Tourbin
2008-05-30 8:21 ` Anton V. Boyarshinov
2008-05-30 11:28 ` Alexey Tourbin
2008-05-30 10:44 ` Anton Farygin
2008-05-30 12:07 ` Alexander Bokovoy
2008-05-30 15:03 ` Anton V. Boyarshinov
2008-05-30 15:09 ` Dmitry V. Levin
2008-05-30 15:17 ` Anton V. Boyarshinov
2008-05-30 15:25 ` Mikhail Gusarov
2008-05-30 15:32 ` Anton V. Boyarshinov
2008-05-30 15:37 ` Mikhail Gusarov
2008-06-01 12:06 ` Anton Farygin
2008-05-31 10:25 ` Alexey Tourbin
2008-05-31 16:59 ` Kirill A. Shutemov
2008-06-01 0:33 ` Alexey Tourbin
2008-06-01 13:07 ` Mikhail Gusarov
2008-06-01 18:08 ` [devel] [JT] fortunezilla :) Michael Shigorin
2008-06-02 1:44 ` Sergey Balbeko
2008-06-02 5:06 ` Mikhail Gusarov
2008-06-02 7:54 ` Alexey I. Froloff
2008-06-02 8:21 ` Michael Shigorin
2008-06-01 19:05 ` [devel] rpm: rsyncable deflate vs LZMA Alexey I. Froloff
2008-05-30 11:47 ` Anton V. Boyarshinov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6062a6e60805291316x511b9a0fk9c18afc98ef30fe5@mail.gmail.com \
--to=ab@altlinux.org \
--cc=devel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git