Don't emit length unless it's needed.
Merge branch 'for-else' into oddbird

* for-else:
  Don't emit length unless it's needed.