marius00 / iagd

MIT License
104 stars 31 forks source link

Replace string concatenation with StringBuilders in Decompress.GetTagBlob #185

Closed tansheron closed 1 year ago

tansheron commented 1 year ago

Decompress.GetTagBlob makes heavy use of string concatenation and can be made noticeably faster by using StringBuilders. Tag loading is only a small part of loading a GD database, so this won't make a dramatic difference to the overall loading time; however, it made a much larger difference for what I'm working on and might as well be shared.