in reply to Re^2: Bidirectional lookup algorithm? (no redis )
in thread Bidirectional lookup algorithm? (Updated: further info.)

Although in the OP there were no specific quality parameters about space/time constraints, my understanding is that space efficiency improvements could come at the expense of (some) speed, hence the suggestion.

Any benchmark should probably consider both aspects.

perl -ple'$_=reverse' <<<ti.xittelop@oivalf

Io ho capito... ma tu che hai detto?