The code I put in place for OneNote 2007 files is horribly inefficient. I hadn't realized that the OneNoteDirectFileResource that I extracted from another parser was not buffering the bytes. So every time I did a set position, it was very expensive.
The fix is to buffer the bytes into chunks and operate them instead.
This message was sent by Atlassian Jira