Thus, for a typical program invocation with N options, the code needs only O(N) [N*O(1)] comparisons—an order of magnitude improvement over the legacy code.
因此,对于具有N 个选项的典型程序调用,代码只需执行O(N) [N*O(1)]比较 —这是对遗留代码的巨大改进。
Thus, for a typical program invocation with N options, the code needs only O(N) [N*O(1)] comparisons—an order of magnitude improvement over the legacy code.
因此,对于具有N 个选项的典型程序调用,代码只需执行O(N) [N*O(1)]比较 —这是对遗留代码的巨大改进。
应用推荐