acfoltzer / nbt

A parser/serializer for Minecraft's Named Binary Tag (NBT) data format.
BSD 3-Clause "New" or "Revised" License
22 stars 8 forks source link

Suggestion: use Text instead of String #1

Closed meteficha closed 11 years ago

meteficha commented 12 years ago

I was just taking a look at your code, and it seems to me that you may benefit from using Text (from text package) in StringTag instead of String. It uses less memory and may take less time to encode/decode. This is just a suggestion.

Cheers!

acfoltzer commented 11 years ago

Fixed by #5!