How can I read and write to the same MeshDataArray?

Hello, I am procedurally generating large mesh using C# jobs and the new MeshDataArray API.

However I am creating a new mesh every time I run the job despite that the new mesh is mostly similar to the previous mesh. Is it possible to edit the mesh data instead of using AcquireReadOnlyMeshData to get the read only mesh data and then creating and writing to new mesh data with AllocateWritableMeshData + ApplyAndDisposeWritableMeshData?

It seems inefficient to have to create new mesh data every time when most of the mesh is the same. As well as resulting in a lot of garbage collection.

Afaik the MeshData API does not generate garbage. And I’m not aware of being able to re-use the arrays since it internally allocates and disposes them.

I’ve done mesh generation per frame using this API even for single meshes and did not find this to be a bottleneck.