jmelesky / omwllf

OpenMW leveled list fixer
ISC License
38 stars 9 forks source link

readSubRecord Performance Improvement #5

Open benjaminwinger opened 5 years ago

benjaminwinger commented 5 years ago

Made readSubRecord consume part of a bytearray rather than copying the bytes every time via a slice. This improves performance substantially (~3-4 times faster).

Unfortunately the performance of readSubRecord is still poor, likely due to creating a dictionary and copying strings into it every call.