Performance improvement, creating thread static instances of Bitmap and Graphics objects to
enable maximum reuse while still being thread safe

Saves ~30% performance on AdjustToContents
1 parent 6712cf7 commit 0ed123c6ad769b9dac819a0562ffb4e1c0fd7bc7
@Albin Sunnanbo Albin Sunnanbo authored on 17 Feb 2015
Showing 1 changed file
View
ClosedXML/ClosedXML/ClosedXML/Utils/GraphicsUtils.cs