Re: Benchmark for Scala, Ruby and Perl

2022-01-15 Thread Jon Smart
Thanks for the geeks on the lists who pointed out a lot of problems to me. I want to add the description why I want to make this benchmark. And I tried to use mmap() for reading file but I have got no benefits from it. https://blog.cloudcache.net/why-mmap-has-no-significant-effect-in-my-code/

Re: Benchmark for Scala, Ruby and Perl

2022-01-15 Thread Jon Smart
ot; end On Sat, Jan 15, 2022 at 3:48 AM Paul Procacci wrote: Hey John, On Sat, Jan 15, 2022 at 3:04 AM Jon Smart wrote: Hello Paul Do you mean by undef $/ and with <$fh> we can read the file into memory at one time? In most cases the short answer is yes. I have problems with yo

Re: Benchmark for Scala, Ruby and Perl

2022-01-15 Thread Jon Smart
fh>; %res; }; my $i=0; for (sort {$count{$b} <=> $count{$a}} keys %count) { if ($i < 20) { print "$_ -> $count{$_}\n" } else { last; } $i ++; } On Sat, Jan 15, 2022 at 12:37 AM Jon Smart wrote: Hello, May I show the result of my

Benchmark for Scala, Ruby and Perl

2022-01-14 Thread Jon Smart
Hello, May I show the result of my benchmark for perl5, ruby, and scala? https://blog.cloudcache.net/benchmark-for-scala-ruby-and-perl/ Welcome you to give any suggestion to me for improving this. Thanks.

Re: about binary protocol porting

2021-12-30 Thread Jon Smart
On 30.12.2021 06:41, Ralph Mellor wrote: On Wed, Dec 29, 2021 at 1:32 AM Jon Smart wrote: I plan to port a binary protocol client to perl6/raku. I have zero experience on this. Where should I get started? How well do you know programming, and Raku, and is the protocol a standard one you can

about binary protocol porting

2021-12-28 Thread Jon Smart
I plan to port a binary protocol client to perl6/raku. I have zero experience on this. Where should I get started? Thanks.