in reply to Re^2: Fastest way to grep multiple time on some array
in thread Fastest way to grep multiple time on some array

I think this would fail if one of the items in bigarray was "AB", as it would only add this item to $H{"A"} and not $H{"B"}.

Alas we don't know for sure whether this would be a problem for the OP or not, but re-reading the post suggests maybe not.

--
use JAPH;
print JAPH::asString();

  • Comment on Re^3: Fastest way to grep multiple time on some array