Skip to content

Commit

Permalink
Merge branch 'master' into any-list-clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
Moray committed Aug 10, 2018
2 parents a87c881 + 30b4d48 commit 84a36e2
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 16 deletions.
2 changes: 1 addition & 1 deletion META6.json
Expand Up @@ -14,7 +14,7 @@
"File::Temp",
"JSON::Fast",
"Pod::To::BigPage:ver<0.4.0+>",
"Pod::To::HTML:ver<0.3.17+>",
"Pod::To::HTML:ver<0.3.19+>",
"OO::Monitors",
"File::Find",
"Test::META"
Expand Down
29 changes: 15 additions & 14 deletions doc/Language/faq.pod6
Expand Up @@ -502,7 +502,7 @@ You can force list context with C<@( ... )> or by calling the
C<.list> method on an expression, and item context with
C<$( ... )> or by calling the C<.item> method on an expression.
See the L«I<Perl 6: Sigils, Variables, and Containers> article|https://perl6advent.wordpress.com/2017/12/02/»
See the L«I<Perl 6: Sigils, Variables, and Containers> article|https://perl6advent.wordpress.com/2017/12/02/»
to learn more.
X<|Sigils (FAQ)>
Expand Down Expand Up @@ -868,10 +868,10 @@ to the JIT that other dynamic languages don't, we think we'll have a lot of
headroom for performance improvements.
The following crude benchmarks, with all the usual caveats about such things,
show that Perl 6 can be faster than Perl 5 for similar tasks if
the big weaponry is included; at the same time, Perl 5 can be faster
if only the bare bones are included. Similar situation can be observed
when comparing Perl 6 to other languages.
show that Perl 6 can be faster than Perl 5 for similar tasks if the big weaponry
is included, that is, if Perl 6 features are used to its full extent; at the
same time, Perl 5 can be faster if only the bare bones are included. Similar
situation can be observed when comparing Perl 6 to other languages.
Try it on your system. You may be pleasantly surprised!
Expand Down Expand Up @@ -921,17 +921,18 @@ Examples:
1;
=end code
=begin code
# A perl program which works under both perl5 (with perl -Mbigint)
# and perl6
You might want to use this program for comparing performance, too. It works
under both languages, as long as C<perl -Mbigint> is used for invocation for
Perl 5.
my ($prev, $current) = (1, 0);
=begin code
my ($prev, $current) = (1, 0);
for (0..100_000) {
($prev, $current) = ($current, $prev + $current);
}
print $current;
=end code
for (0..100_000) {
($prev, $current) = ($current, $prev + $current);
}
print $current;
=end code
=end pod

Expand Down
2 changes: 1 addition & 1 deletion doc/Language/modules-extra.pod6
Expand Up @@ -30,7 +30,7 @@ Some tests of module quality.
=item L<Test::Screen|https://modules.perl6.org/dist/Proc::Screen> Use B<GNU screen> to test full screen VT applications
=item L<Test::When|https://modules.perl6.org/dist/Test::When> Control when your tests are run (author testing, online testing, etc.)
=head1 NativECall
=head1 NativeCall
Here some modules to help you work with NativeCall.
Expand Down
1 change: 1 addition & 0 deletions htmlify.p6
@@ -1,4 +1,5 @@
#!/usr/bin/env perl6

use v6;

=begin overview
Expand Down

0 comments on commit 84a36e2

Please sign in to comment.