在内部,一个Python变量就是一个有许多成员组成的完整结构-即使当对象只代表一个整数时也是如此。
A Python variable is, internally, a complete structure, with lots of members — even when the object only represents an integer.
FlockDB将图存储为一个边的集合,每条边用两个代表顶点的64位整数表示。
It stores graphs as sets of edges between nodes identified by 64-bit integers.
nodeType是代表节点类型的整数——例如,2代表属性节点,7代表处理指令。
NodeType is an integer representing the node type — for example, 2 for an attribute node and 7 for a processing instruction.
So int is gonna stand for integer, it's just a number.
大家都知道int代表整数类型,一个数字而已。
应用推荐