I'm using an array on a curve to animate a section of chain. I need the chain links to appear at the start of the curve and disappear at the end. What is the optimal way to achieve this? Here are some examples I made. 

The obvious solution is to simply loop a cyclic animation (which is what I did to make the examples). The problem is twofold. One, a single section of "loop" for a cyclic animation is long. And two, I have no place to hide the sections of chain that I don't want to be seen. The only solution I can think of is to apply the modifier stack, then keyframe the render toggle on each individual chain link when it reaches the start and end of the curve. There has to be a better way to achieve this effect.
I'll try to upload a .blend with a simple but similar set-up of my use-case.

