efficiently checking for string.maketrans conflicts?

Michael Spencer mahs at telcopartners.com
Thu Apr 23 01:32:02 EDT 2009


Saketh wrote:

> 
> Thank you, Peter and Michael, for your solutions! I think that
> Michael's is what I was edging towards, but Peter's has demonstrated
> to me how efficient Python's set functions are. I have a lot more to
> learn about optimizing algorithms in Python... :)
> --
> http://mail.python.org/mailman/listinfo/python-list
> 

You're welcome, Saketh

I'm curious how you apply this in your code i.e., if A and B are non-conflicting 
translations according to this test, what can you do with them that would 
otherwise not be possible?

Michael




More information about the Python-list mailing list