# Efficient tuple concatenation

**URL:** <https://discourse.julialang.org/t/efficient-tuple-concatenation/5398>\
**Category:** General Usage\
**Tags:** tuple, recursion\
**Created:** [August 15, 2017, 9:03pm UTC](https://discourse.julialang.org/t/efficient-tuple-concatenation/5398 "2017-08-15T21:03:15Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![jameson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jameson/32/23_2.png) [@jameson](https://discourse.julialang.org/u/jameson)\
**Post date:** [August 16, 2017, 4:44pm UTC](https://discourse.julialang.org/t/efficient-tuple-concatenation/5398/11 "2017-08-16T16:44:23Z")

</div>

> [@pablosanjose](#):
>
> But why does this work

It doesn’t call itself recursively on new values, only existing ones. This allows inference to trivially prove that it won’t need to solve the halting problem in order to do constant propagation.

---

_[View the full topic](https://discourse.julialang.org/t/efficient-tuple-concatenation/5398)._
