<div>I'm so tired of calling a different preallocation variant for each matrix format.</div><div><br></div>MatMPIBAIJSetPreallocation() has enough information to preallocate {Seq,MPI}{AIJ,BAIJ}. Should we make this one call enough?<div>
<br></div><div>Downsides:</div><div><br></div><div>If the user wants to allocate some special pattern within blocks, this would fill it all in, so they would have to check the types and call only the version that they really want.</div>
<div><br></div><div>Old code calls all these functions which could mean a lot of reallocation, they can change the code to only call this one function.</div>