wiln / protoc-gen-as3

Automatically exported from code.google.com/p/protoc-gen-as3
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

hi, arthy,能否帮忙修改下这里的生成逻辑,速度上会有一定的增效喔 #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
生成的as3代码中在writeToBuffer
里面经常会看到类似的情况:
for (var heros$index:uint = 0; heros$index < this.heros.length; ++heros$index) {

-》》

for (var heros$index:uint = 0,len:uint= this.heros.length; heros$index <len; 
++heros$index) {

虽然不是很关键,但是看着总是觉得应该优化一下,希望你��
�时间时参考以下,谢谢⋯⋯

Original issue reported on code.google.com by demons....@gmail.com on 1 Feb 2012 at 4:38

GoogleCodeExporter commented 9 years ago
你能提供补丁吗?参见首页的“How to contribute”一节。

Original comment by pop.atry@gmail.com on 1 Feb 2012 at 10:43

GoogleCodeExporter commented 9 years ago
没有回复,关闭

Original comment by pop.atry@gmail.com on 6 Feb 2012 at 2:03