jrivers96 / fast_count

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fast_count

Usage Example: iquery -aq "fast_count(A)"

How does the fast count handle overlapping arrays?

In SciDB, in "Array.cpp: ConstChunk* ConstChunk::materialize() const "

if (!getArrayDesc().hasOverlap()) { materializedChunk->setCount(count); }

Therefore, the count is only set if there array does not have overlap. If the count is not set, the chunks are counted via an iterator.

About

License:GNU Affero General Public License v3.0


Languages

Language:C++ 61.7%Language:Makefile 21.2%Language:Shell 11.1%Language:CMake 5.9%