Somewhere to start: https://www.reddit.com/r/ludobots/comments/49za0t/resource_alternative_faster_method_for/