Continuous batching from first principles | Pasteblog