in reply to Re^2: Replacing Types
in thread Replacing Types

i am not at all sure it is the optimal solution, just one way to do it. it could surely be optimized for speed and/or memory consumption, typically one at the expense of the other. good luck! :-)