Get the API right first. Make sure it’s correct, safe, and useful. Iterate on the performance afterwards.
IMO, a lot of contributions should take this shape.