module slow, speed it up

This module is slow.

Using stubs, and *not* actually doing any real session loading, purely just testing the module it is more than 10 times slower compared to not using this module.

I feel like this module can be faster, 10 times slower is too much.

My results look something like this out of a run count of 10000000:

Without using this module
- op/s:  10004360  | time:  0.99956419

With this module (but no real session loading, it's all stubbed) so this is purely testing the module's performance with no outside factors
- op/s:  780283  | time:  12.815870532