Closed JesseTG closed 10 years ago
StringBuf is usually faster than pure string concatenation, so I went ahead and changed some code for that.
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.
GameConsole.log(data)
data
toString()
Nice one with std.toString() StringBuf is ok too. Merged.
StringBuf is usually faster than pure string concatenation, so I went ahead and changed some code for that.