From cc0078c0ad629f07704430a7d2928a3839c5803d Mon Sep 17 00:00:00 2001 From: Todd Gruben Date: Mon, 18 Aug 2014 21:37:16 +0000 Subject: [PATCH] cass storage asm fix --- index/storage_cass.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index/storage_cass.go b/index/storage_cass.go index 30d785e48..489736147 100644 --- a/index/storage_cass.go +++ b/index/storage_cass.go @@ -84,7 +84,7 @@ func (c *CassandraStorage) Fetch(bitmap_id uint64, db string, frame string, slic s8 = uint8(block_index) if chunk_key != marker { if chunk_key != last_key { - chunk = &Chunk{uint64(chunk_key), BlockArray{}} + chunk = &Chunk{uint64(chunk_key), BlockArray{make([]uint64, 32, 32)}} bitmap.AddChunk(chunk) } chunk.Value.Block[s8] = uint64(block)