After 24 pages we reach a much better design, which mainly USES a map to store properties rather than sub-classing for each type of instrument.
在24页之后,我们看到了更好的设计,主要用map来存储属性,而不是为每种乐器类型建立子类。
There's another subtle advantage, if you follow a pretty common practice to store HTML files in sub-directories.
如果您按照十分常见的实践将HTML文件存储在子目录中,则还有另一个小小的优点。
In a query expression, it is sometimes useful to store the result of a sub-expression in order to use it in subsequent clauses.
在查询运算式中,若要将子运算式的结果用于后续子句,则储存子运算式的结果有时会十分有用。
In addition, we add a bit string to each node in the tree to store the prefix of the items. By using the structure we can avoid repeatedly traversing the sub-tree while expanding the patterns.
除此之外,算法对频繁模式树中每个节点增加一个位串来存储该项目的前缀项目,以避免在模式扩展的时候频繁的遍历子树。
In addition, we add a bit string to each node in the tree to store the prefix of the items. By using the structure we can avoid repeatedly traversing the sub-tree while expanding the patterns.
除此之外,算法对频繁模式树中每个节点增加一个位串来存储该项目的前缀项目,以避免在模式扩展的时候频繁的遍历子树。
应用推荐