You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Faster loading of XLSX files when only reading is required.
Description
When checking load performance for document I realized that that disposing a file caused write operation to it. This is because the default operating mode is Read/Write.
NPOI Version Used
Latest master.
File Type
Use Case
Faster loading of XLSX files when only reading is required.
Description
When checking load performance for document I realized that that disposing a file caused write operation to it. This is because the default operating mode is Read/Write.
npoi/ooxml/POIXMLDocument.cs
Lines 177 to 191 in 779bfe4
It's not intuitive to find how to open file in read-only mode as requires call to
OPCPackage.Open
. Testing against large file in benchmark project:Would it make sense to expose constructor parameter or options to create
XSSFWorkbook
in faster read-only mode?The text was updated successfully, but these errors were encountered: