when merging two rdata slabs, we now check once to see whether an item in the new slab has a duplicate in the old. previously this was done twice; once to determine the size of the target buffer required, and then again when copying the data into it. we also minimize the number of rdata comparisons necessary, by remembering which items in the old slab have already been found to be duplicates.