Blogpost is hosted here:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Test; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/rakudo-star-2020.05/lib/actions/install.bash: line 34: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8): No such file or directory | |
/rakudo-star-2020.05/lib/actions/install.bash: line 43: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8) | |
[2020-09-16T19:01:45] [INFO] Installing Raku in /opt/raku[0m | |
[2020-09-16T19:01:45] [INFO] Starting build on MoarVM[0m | |
[2020-09-16T19:01:45] [NOTIC] Using /rakudo-star-2020.05/tmp/tmp.RUJkmckVAF as working directory[0m | |
perl: warning: Setting locale failed. | |
perl: warning: Please check that your locale settings: | |
LANGUAGE = (unset), | |
LC_ALL = "C.UTF-8", | |
LANG = (unset) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% ./rakudo-m -e 'say my @a[100;100] = (1..100) xx 100' | |
[[1 2 3 4 5 6 7 8 9 10 ...] | |
[1 2 3 4 5 6 7 8 9 10 ...] | |
[1 2 3 4 5 6 7 8 9 10 ...] | |
[1 2 3 4 5 6 7 8 9 10 ...] | |
[1 2 3 4 5 6 7 8 9 10 ...] | |
[1 2 3 4 5 6 7 8 9 10 ...] | |
[1 2 3 4 5 6 7 8 9 10 ...] | |
[1 2 3 4 5 6 7 8 9 10 ...] | |
[1 2 3 4 5 6 7 8 9 10 ...] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% ./rakudo-m -e 'say my int @a[2;100;100]' | |
[[[0 0 0 0 0 0 0 0 0 0 ...] | |
[0 0 0 0 0 0 0 0 0 0 ...] | |
[0 0 0 0 0 0 0 0 0 0 ...] | |
[0 0 0 0 0 0 0 0 0 0 ...] | |
[0 0 0 0 0 0 0 0 0 0 ...] | |
[0 0 0 0 0 0 0 0 0 0 ...] | |
[0 0 0 0 0 0 0 0 0 0 ...] | |
[0 0 0 0 0 0 0 0 0 0 ...] | |
[0 0 0 0 0 0 0 0 0 0 ...] |
After reading Timotimo’s excellent Faster FASTA Please blog post, I wanted to test the performance of some other Perl 6 methods.
This is my baseline which incorporates Timotimo’s performance improvements to the original solution, somewhat simplified.
my %seqs;
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export http_proxy=http://proxy:80 | |
export https_proxy=http://proxy:80 | |
export JAVA_FLAGS="-Dhttp.proxyHost=proxy -Dhttp.proxyPort=80 -Dhttps.proxyHost=proxy -Dhttps.proxyPort=80 -Dhttp.nonProxyHosts=localhost,127.0.0.1,proxy" | |
export JAVA_OPTS="$JAVA_FLAGS" | |
export MAVEN_OPTS="$JAVA_FLAGS" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"topology": [ | |
{ | |
"topology-id": "flow:1", | |
"node": [ | |
{ | |
"node-id": "openflow:3", | |
"opendaylight-topology-inventory:inventory-node-ref": "/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id='openflow:3']", | |
"termination-point": [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copy a dependency from repo to current directory | |
mvn dependency:copy -Dartifact=donaldh:yang-validator:1.0:jar:executable -DoutputDirectory=. |
NewerOlder