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)] 比较 — 这是对遗留代码的巨大改进。
This code snippet can also be modified to perform I/O of all four data transfer types.
这段代码还可以修改为进行所有四种数据传输类型的 I/O。
This is why most code is compiled with -o or -o2 and specialized code being compiled at higher optimization levels.
因此,大多数代码都用—o或—o2编译,只有特殊的代码用更高的优化级别编译。
应用推荐