Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 150c6a4bb680dc44205133d7b8e97cbafed0c629
      
https://github.com/Perl/perl5/commit/150c6a4bb680dc44205133d7b8e97cbafed0c629
  Author: Karl Williamson <k...@cpan.org>
  Date:   2021-08-06 (Fri, 06 Aug 2021)

  Changed paths:
    M doop.c

  Log Message:
  -----------
  doop.c: Refactor do_vecset()

By converting to a switch statement with fall through, some
redundancies can be removed and conditionals avoided.


  Commit: 958cdd9919ef4262f89b30453aa9f16ba5de3b45
      
https://github.com/Perl/perl5/commit/958cdd9919ef4262f89b30453aa9f16ba5de3b45
  Author: Karl Williamson <k...@cpan.org>
  Date:   2021-08-06 (Fri, 06 Aug 2021)

  Changed paths:
    M doop.c

  Log Message:
  -----------
  doop.c: Call the macro instead of reinventing it


  Commit: 35e4fe1f5a6c9fdcf227320cf569bcbd28da463a
      
https://github.com/Perl/perl5/commit/35e4fe1f5a6c9fdcf227320cf569bcbd28da463a
  Author: Karl Williamson <k...@cpan.org>
  Date:   2021-08-06 (Fri, 06 Aug 2021)

  Changed paths:
    M doop.c

  Log Message:
  -----------
  doop.c: White space only


  Commit: 6c4aa50c3d02831e0adee8be4d10577b03de815d
      
https://github.com/Perl/perl5/commit/6c4aa50c3d02831e0adee8be4d10577b03de815d
  Author: Karl Williamson <k...@cpan.org>
  Date:   2021-08-06 (Fri, 06 Aug 2021)

  Changed paths:
    M doop.c

  Log Message:
  -----------
  doop.c: Refactor do_vecget()

By using a switch statement this function can be cut in half, with fewer
conditionals executed.


  Commit: f77b2d0e2503b5ff6743b62d7cd34ef9887cd6b1
      
https://github.com/Perl/perl5/commit/f77b2d0e2503b5ff6743b62d7cd34ef9887cd6b1
  Author: Karl Williamson <k...@cpan.org>
  Date:   2021-08-06 (Fri, 06 Aug 2021)

  Changed paths:
    M doop.c

  Log Message:
  -----------
  doop.c: do_vecget(): Add trivial case to the switch()

We can save another conditional by adding a default: case to the switch
statement created by the previous commit.


Compare: https://github.com/Perl/perl5/compare/382558a528d2...f77b2d0e2503

Reply via email to