Permalink
Commits on Jan 21, 2017
  1. Fix crash on instantiation of subclasses of classes that do Rational

    In such cases the self.WHAT would be the subclass's type object, which does
    not have $!denominator/$!numerator attributes in it.
    
    Fix by using ::?CLASS instead. jnthn++ for the tip.
    zoffixznet committed Jan 21, 2017
  2. Introducing Any.skip(n?)

    Exposes the functionality of Iterator.skip-one/skip-at-least.  This
    allows you to do something like:
    
      for "file".IO.lines.skip(10).head(10) {
      }
    
    to get the second 10 lines of a file.  I've waited to push this until
    after the 2017.01 release, so that we have about a month to revert it
    should it be considered an addition we could do without  :-)
    lizmat committed Jan 21, 2017
  3. Merge pull request #1000 from faraco/patch-1

    Update CREDITS
    lizmat committed on GitHub Jan 21, 2017
  4. Update CREDITS

    faraco committed on GitHub Jan 21, 2017
  5. Update CREDITS

    faraco committed on GitHub Jan 21, 2017
  6. 2017.01 is now in the past

    zoffixznet committed on GitHub Jan 21, 2017
  7. [release] bump VERSION to 2017.01

    zoffixznet committed Jan 21, 2017
  8. [release] bump NQP revision

    zoffixznet committed Jan 21, 2017
  9. Unbust JVM build with a workaround at the crashsite

    zoffixznet committed Jan 21, 2017
  10. Revert "Remove duplicate test"

    This reverts commit 7f97035.
    
    Semi-temporarily. Will be moved again once we teach make spectest to
    use different lists of test files for each roast branch
    zoffixznet committed Jan 21, 2017
  11. Merge pull request #999 from MasterDuke17/nom

    Fix calling lines() after exhausting input
    zoffixznet committed on GitHub Jan 21, 2017
  12. Fix calling lines() after exhausting input

    MasterDuke17 committed Jan 21, 2017
  13. Revert 76f14a5: Array.splice(Range) candidate

    zoffixznet committed Jan 21, 2017
  14. Document all commits to date

    zoffixznet committed Jan 21, 2017
Commits on Jan 20, 2017
  1. Fix infix:<cmp> for case of Real + Subclass of Rational

    The current code uses .WHAT to indicate to nqp::getattr() where to
    find the $!denominator attribute, which is provided by Rational role.
    This works for classes that do the role directly, but not for their
    subclasses, of which RatStr is one.
    
    Fix by using public accessor instead. This is 15% slower than using
    nqp to get that attribute, but works.
    
    Fixes RT#130606: https://rt.perl.org/Ticket/Display.html?id=130606
    zoffixznet committed Jan 20, 2017
  2. Make eqv work right on NaN and signed num zeros

    eqv should return[^1] True when each side is a NaN and False
    when zeros of different signs are compared. Currently, the logic always
    uses `==` op, which makes it fail for those cases.
    
    Fix by using `===` for Nums and `==` for rest of cases. We can't use
    `===` for all cases, because stuff like Duration also get handled with
    this op, and `===` would give False when we want a True.
    
    [1] https://irclog.perlgeek.de/perl6-dev/2017-01-20#i_13959621
    Bug find: https://irclog.perlgeek.de/perl6/2017-01-20#i_13959538
    zoffixznet committed Jan 20, 2017
  3. implement "next" in whenever blocks

    timo committed Jan 20, 2017
  4. Fix for RT #130599

    FWIW, I think the old behaviour *is* correct.
    lizmat committed Jan 20, 2017
  5. Make sure Nil.chomp/chop just warn like before

    Spotted by AlexDaniel++
    lizmat committed Jan 20, 2017
Commits on Jan 19, 2017
  1. Remove unnecessary initialization

    Probably a copy-pasto
    lizmat committed Jan 19, 2017
  2. Replace a die with an applicable Exception

    lizmat committed Jan 19, 2017
  3. Make List/Array.join about 20% faster

    lizmat committed Jan 19, 2017
  4. Make List/Array.fmt("...") also about 60x faster

    Provided the format string only has a single '%s' in it.
    timotimo++ for inspiration
    lizmat committed Jan 19, 2017
  5. Make List/Array.fmt() about 60x faster

    Because we don't actually have to do a sprintf internally for the
    default format '%s', but we can do just a .Str.  Apparently sprintf
    uses a regular expression somewhere under the hood, and that makes
    things a *lot* slower in this case.
    lizmat committed Jan 19, 2017
  6. Make List/Array.sum about 30% faster

    Especially for smaller lists/arrays
    lizmat committed Jan 19, 2017
  7. Make reified List.Array about 3x faster

    On a completely reified list, we know what we need to put in containers
    to make it an Array, so do that the fastest way possible atm.  So it
    appears a shortcut *does* make sense.
    lizmat committed Jan 19, 2017
Commits on Jan 18, 2017
  1. Fix typo timotimo++ ; add missing commit MasterDuke++

    zoffixznet committed on GitHub Jan 18, 2017
  2. Fix typo timotimo++

    zoffixznet committed on GitHub Jan 18, 2017
  3. Make sure we get rw containers for Range.int-bounds

    No performance effects otherwise, timotimo++
    lizmat committed Jan 18, 2017
  4. Use the new Range.int-bounds candidate where possible

    lizmat committed Jan 18, 2017
  5. Add Range.int-bound(\from,\to) multi candidate

    This allows us to bypass the current (expensive) way in which:
      my ($a,$b) = foo()
    is implemented.  Now use foo(my $a, my $b) for a 4.5x speed improvement.
    lizmat committed Jan 18, 2017
  6. Make Range.excludes-(min|max|infinite|is-int 2.5x as fast

    By using nqp::p6bool() instead of ?
    lizmat committed Jan 18, 2017
  7. Fix for RT #130439

    I think we actually only need 1 candidate to handle .splice(Range).
    Which I have now added.  It won't be the fastest route of doing this
    as it it just a front-end for .slice(offset,size).
    lizmat committed Jan 18, 2017
  8. Fix for RT #130285

    Also allow things like * and Inf for .head(N) and .tail(N)
    lizmat committed Jan 18, 2017