there is no easy way around this yet. While we are working on a JIT compiler that should give automatic batching, it wont be ready in the near future.
The only hard path to make it faster is to likely either partly vectorize your computation or learn GPU programming.