# New Ticket Created by  Zoffix Znet 
# Please include the string:  [perl #131626]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=131626 >


I'd expect the fancy Unicode versions of <=, >=, and != to perform equally 
well, instead the
≥ and ≤ are 36x slower than their Texas companions and ≠ is 15x slower.

Here's the timings for >= vs ≥:

m: my $x = rand; for ^1000_000 { $ = $x >= 1_000_000_000_000 }; say now - INIT 
now;
rakudo-moar 43c176: OUTPUT: «0.74663187␤»
m: my $x = rand; for ^1000_000 { $ = $x ≥ 1_000_000_000_000 }; say now - INIT 
now;
rakudo-moar 43c176: OUTPUT: «(timeout)»
m: my $x = rand; for ^1000_0 { $ = $x ≥ 1_000_000_000_000 }; say now - INIT now;
rakudo-moar 43c176: OUTPUT: «0.2661272␤»
m: say 0.2661272*100 / 0.729002
rakudo-moar 43c176: OUTPUT: «36.505689␤»

Reply via email to