Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
This part :
could be optimized better to use RES to read all events on position
But that's just a performance optimization.