in reply to Re^2: Unable to Understand grep and hash use for prime no.
in thread Unable to Understand grep and hash use for prime no.
That's why Davido's module uses XS and C++. An optimised Perl implementation would have a challenge to re-invent the processor in some ways, whereas in C++, structs can be used to map one datatype over another without any conversion, bit-shifting or reassignment making it easier to simulate a 2^N bit machine, where N is arbitrary.
One world, one people
In Section
Seekers of Perl Wisdom