Episode #606

Span Types, Indices, Reducing Copies

Series: Billion Row Challenge

60 minutes
Published on March 6, 2026

This video is only available to subscribers. Get access to this video and 605 others.

In this episode we dive back into Instruments to find opportunities to improve performance. We investigate the Span type that provides safer access to raw buffer pointers. We also discuss other areas for improvement such as custom hashing algorithms and parsing floats. In the end, we shave another 2 minutes off of the runtime.
  • Span - represents a contiguous region of memory which contains initialized instances of Element

This episode uses Swift 6.2, Xcode 26.2.