I read a following sentence in the book Data Structure & Algorithm in Python(Page 412):
To begin, we note that, for any data type X that is represented using at most as many bits as our integer hash codes, we can simply take as a hash code for X an integer interpretation of its bits.
What I have seen sentence forms about take as, as follows:
- A is taken as B. For example: The shape of heart is taken as love.
- subject take A as B. For example: Jim takes her gift as kindness.
However the phrase take as ... in the context, there are two noun phrases joined together, So I have a little of confusion. Here is my understanding:
- we can simply take an integer interpretation of its bit as a hash code for X.
Am I right?