Danmakus compartor: reduce object allocation