From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 8D3E01F619 for ; Mon, 24 Feb 2020 07:33:28 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/3] avoid redundant CRLF handling Date: Mon, 24 Feb 2020 07:33:25 +0000 Message-Id: <20200224073328.16230-1-e@yhbt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Redundant ops waste cycles and make the code more difficult to follow. And 3/3 is an overdue cleanup which can also serve as an impromptu test for solver... Eric Wong (3): hval: ascii_html: drop CRLF => LF conversion viewdiff: remove optional CR handling examples/nginx_proxy: convert CRLF to LF examples/nginx_proxy | 48 ++++++++++++++++++------------------- lib/PublicInbox/Hval.pm | 1 - lib/PublicInbox/ViewDiff.pm | 11 +++++---- lib/PublicInbox/ViewVCS.pm | 2 +- t/plack.t | 27 +++++++++++++++++++++ 5 files changed, 58 insertions(+), 31 deletions(-)