[MN-10] Performance: Large EPUB Parsing #7
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Full Detail:
EpubService.cscurrently usesEpubReader.ReadBookAsync(fullPath)(line 52), which loads the entire EPUB file into memory. This is a performance risk for large books (>10MB).Action:
EpubReader.OpenBook(fullPath), which provides a handle to the file without reading all content.ReadingOrderitem requested bychapterIndexon demand.