Reputation: 339
In the book Linux Kernel Development by Robert Love, I found the following lines (Pg: 100 - 101).
The Linux kernel provides a simple and efficient map data structure, but it is not a general-purpose map. Instead, it is designed for one specific use case: mapping a unique identification number (UID) to a pointer.
What does "Unique identification number (UID) to a pointer" mean in this context?
Upvotes: 0
Views: 130
Reputation:
What does "Unique identification number (UID) to a pointer" mean in this context?
Nothing. You're parsing the sentence incorrectly.
The map data structure maps $X to $Y.
$X is "a unique identification number (UID)".
$Y is "a pointer".
In other words, the "map data structure" is a dictionary where the keys are UIDs and the values are pointers.
Upvotes: 1