user-pic

domm

Subscribe to feed Recent Actions from domm

  • Neil Bowers commented on First Round of Talks Accepted - But Still Room for More!

    domm: that's better than "I should maybe start writing the code" ;-)

  • :m) commented on YAPC::EU 2015 from 2nd to 4th September

    interestingly, at Swiss Perl Workshop, we choose dates that are *not* during the (local) holidays. Because some people might not be able to attend because they are away on (family) holidays..

  • Salvador Fandiño commented on YAPC::EU 2015 from 2nd to 4th September

    In my case, I can seldom attend YAPC::Europe because of it happening during my kids holidays (that BTW, in Spain last until mid September!)

  • Dana Jacobsen commented on Learning Perl 6 - Find in a Large File

    I was having a similar issue, but on a larger file (32M 64-bit integers, about 120x larger than /usr/share/dict/words on my machine). This is more than I'd like to pull into an array, as it uses 13.5GB of memory.

    Using the 'for $in -> $x { ... }' style was going quite slow, but the helpful people on #perl6 got be to try .get in a loop, e.g. 'while (my $x = $in.get) { ... }' which turns out to be much faster. Not only does it use almost no memory, it's 50% faster than the latest @d = "file".IO.lines.

    BTW, this was meant to share my experience with using .get for reading a la…

  • :m) commented on Learning Perl 6 - Find in a Large File

    ah, very interesting. Thanks for mentioning.

Subscribe to feed Responses to Comments from domm

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is run by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.