[quicwg/base-drafts] 339626: Use "Insert Count" rather than "Largest Reference"

Martin Thomson <martin.thomson@gmail.com> Wed, 19 December 2018 03:51 UTC

Return-Path: <bounce+565321.40f-quic-issues=ietf.org@github.com>
X-Original-To: quic-issues@ietfa.amsl.com
Delivered-To: quic-issues@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0A84012D84D for <quic-issues@ietfa.amsl.com>; Tue, 18 Dec 2018 19:51:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.997
X-Spam-Level:
X-Spam-Status: No, score=-0.997 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=github.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MEzgGNSvBsqF for <quic-issues@ietfa.amsl.com>; Tue, 18 Dec 2018 19:51:18 -0800 (PST)
Received: from m69-170.mailgun.net (m69-170.mailgun.net [166.78.69.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 44AD91276D0 for <quic-issues@ietf.org>; Tue, 18 Dec 2018 19:51:18 -0800 (PST)
DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1545191477; h=Content-Transfer-Encoding: Content-Type: Mime-Version: Subject: Message-ID: To: Reply-To: From: Date: Sender; bh=RLShadwNFZE1QwwA0VoEoW/d0vIEzcqxNm9hhVIq/I4=; b=P+o9DO2UeTrik5pZN+aZu671YWez5NhTwkJ3csbq3vhMSCWn2652aL+hYLAHPnslnTsTRCGK mF/0PF0iS2AlUrZFBeLV1IWFraBqssEZsI+nMqv1wrdOIftistDvIRkvWKQ1Z5XyptcSkTok ySe5yTgJCF/o+lSi4ujOv6bsKxA=
X-Mailgun-Sending-Ip: 166.78.69.170
X-Mailgun-Sid: WyJhNzYyYiIsICJxdWljLWlzc3Vlc0BpZXRmLm9yZyIsICI0MGYiXQ==
Sender: martin.thomson=gmail.com@github.com
Received: from github.com (Unknown [192.30.252.38]) by mxa.mailgun.org with ESMTP id 5c19c035.7f83977dab70-smtp-out-n01; Wed, 19 Dec 2018 03:51:17 -0000 (UTC)
Date: Tue, 18 Dec 2018 19:51:16 -0800
From: Martin Thomson <martin.thomson@gmail.com>
Reply-To: Martin Thomson <martin.thomson@gmail.com>
To: quic-issues@ietf.org
Message-ID: <5c19c034f2861_62572ab9d4214590717bc@hookshot-fe-265448d.cp1-iad.github.net.mail>
Subject: [quicwg/base-drafts] 339626: Use "Insert Count" rather than "Largest Reference"
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="--==_mimepart_5c19c034f2062_62572ab9d421459071636"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/BCBIKfifEhuQMQF1dyPguDvr23Q>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Notification list for GitHub issues related to the QUIC WG <quic-issues.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic-issues/>
List-Post: <mailto:quic-issues@ietf.org>
List-Help: <mailto:quic-issues-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Dec 2018 03:51:20 -0000

  Branch: refs/heads/insert-count
  Home:   https://github.com/quicwg/base-drafts
  Commit: 33962637c3081f95f31e4c89b14b50c7035f2e03
      https://github.com/quicwg/base-drafts/commit/33962637c3081f95f31e4c89b14b50c7035f2e03
  Author: Martin Thomson <martin.thomson@gmail.com>
  Date:   2018-12-19 (Wed, 19 Dec 2018)

  Changed paths:
    M draft-ietf-quic-qpack.md
    A example.js
    A invariant-headers.svg
    A long-headers.svg
    A short-headers.svg

  Log Message:
  -----------
  Use "Insert Count" rather than "Largest Reference"

The construction of largest reference currently implies the use of
1-based indexing, which is unnatural.  Using the insert count is much
more natural, even if it means the encoding is a little strange and a
tiny bit inefficient (it goes 0, 2, 3, ..., Max-1, 1, 2, ...).

I've gone through and put the references on the boundary between
records, which makes explanations much easier for post-base indexing in
my view.  I've renamed Base Index (which was never really an index) to
Base, which matches that change.  Similarly, renaming Largest Known
Received to Known Received Count makes it match better.

There are also examples added to Insert Count and Base sections.  These
definitions are pretty damned opaque without them.


  Commit: a10d39bd4520c538b9f93f902159e3feb22acfaa
      https://github.com/quicwg/base-drafts/commit/a10d39bd4520c538b9f93f902159e3feb22acfaa
  Author: Martin Thomson <martin.thomson@gmail.com>
  Date:   2018-12-19 (Wed, 19 Dec 2018)

  Changed paths:
    M draft-ietf-quic-qpack.md

  Log Message:
  -----------
  Self-review fixes


  Commit: 3d0541546f3984836250f4021fd796bdcb2bfd38
      https://github.com/quicwg/base-drafts/commit/3d0541546f3984836250f4021fd796bdcb2bfd38
  Author: Martin Thomson <martin.thomson@gmail.com>
  Date:   2018-12-19 (Wed, 19 Dec 2018)

  Changed paths:
    M draft-ietf-quic-qpack.md

  Log Message:
  -----------
  Missing colon


  Commit: 4745b0667cc8fe73adfaed70482a664b5470103e
      https://github.com/quicwg/base-drafts/commit/4745b0667cc8fe73adfaed70482a664b5470103e
  Author: Martin Thomson <martin.thomson@gmail.com>
  Date:   2018-12-19 (Wed, 19 Dec 2018)

  Changed paths:
    M draft-ietf-quic-qpack.md

  Log Message:
  -----------
  Rewrite some of the thorny pieces


Compare: https://github.com/quicwg/base-drafts/compare/7e7d7b5e7d74...4745b0667cc8
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.