tiagolr / dconsole

Haxe game-like console that provides runtime acess to methods, variables and more.
MIT License
169 stars 16 forks source link

StringBuf usage #15

Closed JesseTG closed 10 years ago

JesseTG commented 11 years ago

StringBuf is usually faster than pure string concatenation, so I went ahead and changed some code for that.

JesseTG commented 11 years ago

I believe I fixed a bug. In GameConsole.log(data), the code assumes data has a toString() method, and the program crashes if it doesn't.

tiagolr commented 10 years ago

Nice one with std.toString() StringBuf is ok too. Merged.