I added a TODO in the code to optimize this when we're bored.