The equivalent code using the RegexpPlugin is similar.
使用RegexpPlugin时的等同代码是相似的。
Listing 2 shows the equivalent code that will be generated for the firstName field.
清单2展示了为firstName字段生成的访问器代码。
For example, Listing 2 shows the equivalent code to Listing 1, as I've seen it used in many recent consulting gigs.
比如,清单2中的代码和清单1是等价的,最近我发现很多咨询建议中使用这类代码。
You will notice that it looks very similar to the equivalent code in Ruby, but there are some important differences.
你会注意到它看上去非常类似等价的Ruby代码,但是这儿有一些重要区别。
At times, semantically equivalent code, written in two different ways, might cause the optimizer to have a more difficult time performing good register allocation.
有时,语义上等同但采用两种不同方式编写的代码可能会使优化器在执行良好的寄存器分配上所花费的时间相差巨大。
At times, semantically equivalent code, written in two different ways, might cause the optimizer to have a more difficult time performing good register allocation.
有时,语义上等同但采用两种不同方式编写的代码可能会使优化器在执行良好的寄存器分配上所花费的时间相差巨大。
应用推荐