rantav/hector — Issue #413: Multiple keySerializer.toByteBuffer in BatchMutation. getInnerMutationMap
Author: vengrov
Created: 2012-02-06 10:24:41+00:00
State: open

Inserting of 1000 rows will cause 2000 toByteBuffer calls which is expensive in case of composite keys. This can be fixed by putting first toByteBuffer call into intermediate variable. Thanks.