Github user mridulm commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1165#discussion_r14722303
  
    --- Diff: core/src/main/scala/org/apache/spark/storage/MemoryStore.scala ---
    @@ -87,9 +86,7 @@ private class MemoryStore(blockManager: BlockManager, 
maxMemory: Long)
           values: Iterator[Any],
           level: StorageLevel,
           returnValues: Boolean): PutResult = {
    -    val valueEntries = new ArrayBuffer[Any]()
    -    valueEntries ++= values
    -    putValues(blockId, valueEntries, level, returnValues)
    +    putValues(blockId, values.toArray, level, returnValues)
    --- End diff --
    
    I am not sure what got me confused there. I thought values was an array to 
begin with (maybe I mixed it with the method below).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to