avoid allocating memory in most cases. This increases performance by about 225% on the rc query test (~305 q/s to 990 q/s).