develooper Front page | perl.perl5.changes | Postings from May 2021

[Perl/perl5] 6e631e: Implement new style readline and the slowfallback

From:
Leon Timmermans via perl5-changes
Date:
May 2, 2021 01:48
Subject:
[Perl/perl5] 6e631e: Implement new style readline and the slowfallback
Message ID:
Perl/perl5/push/refs/heads/leont/perlio-various/bf4f28-0a23d1@github.com
  Branch: refs/heads/leont/perlio-various
  Home:   https://github.com/Perl/perl5
  Commit: 6e631e67bccd13f984c315c766ae5e2103dd6e32
      https://github.com/Perl/perl5/commit/6e631e67bccd13f984c315c766ae5e2103dd6e32
  Author: Leon Timmermans <fawaka@gmail.com>
  Date:   2021-05-02 (Sun, 02 May 2021)

  Changed paths:
    M embed.fnc
    M embed.h
    M perlio.c
    M perliol.h
    M proto.h
    M sv.c

  Log Message:
  -----------
  Implement new style readline and the slow fallback


  Commit: b6f31f4c763865e42894f7f438531fa0202c4cfb
      https://github.com/Perl/perl5/commit/b6f31f4c763865e42894f7f438531fa0202c4cfb
  Author: Leon Timmermans <fawaka@gmail.com>
  Date:   2021-05-02 (Sun, 02 May 2021)

  Changed paths:
    M perlio.c
    M perliol.h

  Log Message:
  -----------
  Add fast readdelim to main buffering layers


  Commit: e45d824f532a95b8c8ff05f66e3fd21c5c8f7299
      https://github.com/Perl/perl5/commit/e45d824f532a95b8c8ff05f66e3fd21c5c8f7299
  Author: Leon Timmermans <fawaka@gmail.com>
  Date:   2021-05-02 (Sun, 02 May 2021)

  Changed paths:
    M ext/PerlIO-encoding/encoding.pm
    M ext/PerlIO-encoding/encoding.xs

  Log Message:
  -----------
  Make :encoding use the new readdelim method


  Commit: 3485f29ea37a541f6455993922c5d8c8c575870f
      https://github.com/Perl/perl5/commit/3485f29ea37a541f6455993922c5d8c8c575870f
  Author: Leon Timmermans <fawaka@gmail.com>
  Date:   2021-05-02 (Sun, 02 May 2021)

  Changed paths:
    M cpan/CPAN-Meta-YAML/t/11_read_string.t
    M lib/PerlIO.pm
    M perlio.c
    M perliol.h
    M pod/perldiag.pod
    M pod/perlfunc.pod
    M pod/perliol.pod
    M pod/perlrun.pod
    M pod/perlunifaq.pod
    M pod/perluniintro.pod
    M t/io/crlf.t
    M t/io/layers.t
    M t/io/utf8.t
    M t/op/print.t
    M universal.c

  Log Message:
  -----------
  Made :utf8 an actual layer

It will check the input for validity, by default strict validity though less strict forms are provided. This also means PerlIO::get_layers doesn't return a "utf8" pseudo-layer anymore, which can break some code making that assumption.


  Commit: c6951c0d217d8b5612a790ee211c3619af57bfc8
      https://github.com/Perl/perl5/commit/c6951c0d217d8b5612a790ee211c3619af57bfc8
  Author: Leon Timmermans <fawaka@gmail.com>
  Date:   2021-05-02 (Sun, 02 May 2021)

  Changed paths:
    M ext/PerlIO-scalar/scalar.pm
    M ext/PerlIO-scalar/scalar.xs
    M ext/PerlIO-via/via.pm
    M ext/PerlIO-via/via.xs

  Log Message:
  -----------
  Make :via and :scalar use readdelim


  Commit: cd2ea7b723817404dbf5259bb5924b1169becf80
      https://github.com/Perl/perl5/commit/cd2ea7b723817404dbf5259bb5924b1169becf80
  Author: Leon Timmermans <fawaka@gmail.com>
  Date:   2021-05-02 (Sun, 02 May 2021)

  Changed paths:
    M perlio.c

  Log Message:
  -----------
  Speed up slurping binary files


  Commit: 0a23d1655f2bf14f55b8e7bc785e7fb2e0d5d5a4
      https://github.com/Perl/perl5/commit/0a23d1655f2bf14f55b8e7bc785e7fb2e0d5d5a4
  Author: Leon Timmermans <fawaka@gmail.com>
  Date:   2021-05-02 (Sun, 02 May 2021)

  Changed paths:
    M sv.c

  Log Message:
  -----------
  WIP


Compare: https://github.com/Perl/perl5/compare/bf4f28d8accb...0a23d1655f2b



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About