in reply to Marking an array as already seen

I like blessing it and then checking for the bless later. That seems to be the easiest solution. You could also just make the entire data structure a class and encapsulate the issues. (But, I'm OO-happy.)

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.