# SVector vs Vec usage: Why do I have an 8x speedup in a simple example?

**URL:** <https://discourse.julialang.org/t/svector-vs-vec-usage-why-do-i-have-an-8x-speedup-in-a-simple-example/27647>\
**Category:** Performance\
**Created:** [August 17, 2019, 10:10am UTC](https://discourse.julialang.org/t/svector-vs-vec-usage-why-do-i-have-an-8x-speedup-in-a-simple-example/27647 "2019-08-17T10:10:12Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![tkoolen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tkoolen/32/1603_2.png) [@tkoolen](https://discourse.julialang.org/u/tkoolen)\
**Post date:** [August 17, 2019, 2:12pm UTC](https://discourse.julialang.org/t/svector-vs-vec-usage-why-do-i-have-an-8x-speedup-in-a-simple-example/27647/8 "2019-08-17T14:12:40Z")

</div>

See [my comment from earlier this week](https://discourse.julialang.org/t/function-calls-in-global-scope-benchmarking-etc/27513/6) for some more benchmarking tips.

---

_[View the full topic](https://discourse.julialang.org/t/svector-vs-vec-usage-why-do-i-have-an-8x-speedup-in-a-simple-example/27647)._
