[perl #131626] [PERF] ≥ and ≤ are 36x slower than Texas version; ≠ is 15x slower

2017-06-22 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
This was discussed in https://github.com/rakudo/rakudo/pull/1032#issuecomment-284217342 In theory, this ticket should apply for other ops as well. Note that I said that I will change the way unicode ops are implemented, but I didn't have much time since then. Hoping to get to it at some point.

[perl #131626] [PERF] ≥ and ≤ are 36x slower than Texas version; ≠ is 15x slower

2017-06-22 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #131626] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131626 > I'd expect the fancy Unicode versions of <=, >=, and != to perform equally well, instead

[perl #131623] [BUG] Range + detached method + map with = "Cannot find method 'count' on object of type NQPMu"

2017-06-22 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #131623] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131623 > A WhateverCode detached map or a undetached map works fine: m: ^2 .map: *.say

[perl #131622] [BUG] Failures don't get sunk when last in for loop

2017-06-22 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #131622] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131622 > The .map gets special treatment if it's the last item of a for loop and it gets sunk so

[perl #131610] [BUG] Cannot invoke this object (REPR: Null; VMNull) when doing coercitive type constraint with subset

2017-06-22 Thread Zoffix Znet via RT
On Tue, 20 Jun 2017 10:42:18 -0700, druoso wrote: > > subset StrToInt of Str where +*; multi foo(Int(StrToInt) $f) { say $f }; > foo("42"); > Cannot invoke this object (REPR: Null; VMNull) > in whatevercode at line 1 Looks to be an optimizer bug: zoffix@VirtualBox~$ perl6 -e 'm: subset

[perl #131610] [BUG] Cannot invoke this object (REPR: Null; VMNull) when doing coercitive type constraint with subset

2017-06-22 Thread Zoffix Znet via RT
On Tue, 20 Jun 2017 10:42:18 -0700, druoso wrote: > > subset StrToInt of Str where +*; multi foo(Int(StrToInt) $f) { say $f }; > foo("42"); > Cannot invoke this object (REPR: Null; VMNull) > in whatevercode at line 1 Looks to be an optimizer bug: zoffix@VirtualBox~$ perl6 -e 'm: subset

Re: Any text editors for programming that support the secondary selection clipboard?

2017-06-22 Thread vijayvithal jahagirdar
For vim/gvim check mouse options and gui options as it impacts some of the selection behavior. On Thu, Jun 22, 2017 at 11:01 AM, Jan Ingvoldstad wrote: > Hah, I see that my original response only went to ToddAndMargo, how > dull-witted I must have been. > > On Wed, Jun 21,

Re: parameters from the command line: how do they do that?

2017-06-22 Thread Brandon Allbery
On Thu, Jun 22, 2017 at 1:51 AM, Todd Chester wrote: > You want named parameters. >> >> sub MAIN(:$fixed-string, :$extended-regex, ...) { >> # $fixed-string and $extended-regex are Bools here, >> # True if the corresponding option specified >> } >> >>