Listing 5 shows the code that proves the point on compilers optimizing empty base classes.
清单5给出的代码在优化了空基类的编译器上证明了这一点。
It also allows us to perform extensive optimizations during deployment, potentially scanning byte code and optimizing code paths, without impacting online systems.
它也允许我们在部署期间执行广泛的优化,即潜在地扫描字节码和优化代码路径,而不会影响在线系统。
However, the cost of process hopping to the database is still high, thus performance on the data tier is the first place to look when optimizing your code.
然而进程跳跃到数据库的成本依然很高,因此数据层的性能是您在优化代码时首先要考虑的问题。
应用推荐