<div id="comment:0"></div> Speed up the code for getting the corners of a partition. CC: @tscrim Component: **combinatorics** Keywords: **gsoc2022 partition optimization** Author: **Trevor K. Karn** Branch/Commit: **[`bde6bb5`](https://github.com/sagemath/sagetrac-mirror/commit/bde6bb5e919836e7d7412288d51d78833f1976f6)** Reviewer: **Travis Scrimshaw** _Issue created by migration from https://trac.sagemath.org/ticket/34343_