Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Consider whether that optimization is worth the extra complexity. Remember, this is part of the substrate public interface and therefore user-facing.
It's usually a good idea to test optimizations. Tests may show that MaybeDisplay doesn't make a difference on wasm size.