Re: change the algorithm.
Change how you are using it, so one example is only update the display when you need to so that the time it takes does not slow down the main loop every iteration. That is instead of drawing to it every update with the same stuff only send what is changed when it changes.
Without knowing your full use case and why the speed is an issue it would be hard suggest anything better. I'm going to ask some questions and maybe I can help. BTW I've been a software engineer for over 20 years so I should be able to help even if the final conclusion is "the display is to slow for what you want to do".
So, the first question is. What will you be using this display for?