Comprehension vs map and filter unexpected speeds

Yes, it was just to complete the question fore later users.

Today I Learned about BitArrays!

Note that filter(x -> x > 0.5, A) creates an additional array. If you want the non-allocating version, use Iterators.filter(x -> x > 0.5, A)