| 赞 | 23 |
| VIP | 207 |
| 好人卡 | 31 |
| 积分 | 31 |
| 经验 | 48797 |
| 最后登录 | 2024-5-11 |
| 在线时间 | 1535 小时 |
Lv3.寻梦者 孤独守望
- 梦石
- 0
- 星屑
- 3133
- 在线时间
- 1535 小时
- 注册时间
- 2006-10-16
- 帖子
- 4321
 
|
以下引用Iselia雪于2008-3-2 14:19:34的发言:
LS大姐小看Ruby的处理能力哟~~
@a = Sprite.new
@a.bitmap = Bitmap.new(640,480)
@c = Color.new(0,0,0,255)
for i in 1..640
for j in 1..480
@a.bitmap.set_pixel(i,j,@c)
end
end
@a.update
全过程 〈 1s
ORZ……我才14,理解能力跟不上- -||||
头痛...等到好点慢慢想吧。
我是15的正太==自己试了一下就是VB的处理System.drawing.bitmap也很慢,像沉影不器的灰度脚本都是几秒钟才出来,总之,
逐点逐点处理=慢死=卡死 |
|