Skip to content

Commit

Permalink
Now that the store*() contract has been stregthened, we can remove an…
Browse files Browse the repository at this point in the history
… extra lookup
  • Loading branch information
JoshRosen committed Apr 22, 2015
1 parent f764d13 commit c754ae1
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,6 @@ case class UnsafeGeneratedAggregate(
PlatformDependent.LONG_ARRAY_OFFSET,
emptyAggregationBuffer.length
)
// So that the pointers point to the value we just stored:
// TODO: reset this inside of the map so that this extra looup isn't necessary
buffers.lookup(unsafeRowBuffer, PlatformDependent.LONG_ARRAY_OFFSET, keyLengthInBytes)
}
// Reset our pointer to point to the buffer stored in the hash map
val address = loc.getValueAddress
Expand Down

0 comments on commit c754ae1

Please sign in to comment.