# Hand written loop slower than bitVector broadcast

**URL:** https://discourse.julialang.org/t/hand-written-loop-slower-than-bitvector-broadcast/108881
**Category:** Performance
**Tags:** question
**Created:** [January 16, 2024, 8:22pm UTC](https://discourse.julialang.org/t/hand-written-loop-slower-than-bitvector-broadcast/108881 "2024-01-16T20:22:55Z")
**Posts on this page:** 1
**Showing post:** 15

<div class="post-metadata">

### Author: ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)
#### Post date: [January 17, 2024, 11:18pm UTC](https://discourse.julialang.org/t/hand-written-loop-slower-than-bitvector-broadcast/108881/15 "2024-01-17T23:18:25Z")

</div>

> [@DNF](#):
>
> please, consider removing all the `collect`s from your code, it’s really quite painful for me to see.

PS: on this topic, have you ever got [the tattoo](https://discourse.julialang.org/t/function-for-finding-addition-decompositions-of-an-integer/60295/7)? 🙂

---

_[View the full topic](https://discourse.julialang.org/t/hand-written-loop-slower-than-bitvector-broadcast/108881)._
