Is ClearUndoRecords(UInt32, Boolean) necessary at all?

Is ClearUndoRecords(UInt32, Boolean) necessary to prevent CustomUndoEvent from cluttering the UndoRecords?

I have a lot of vertex data that needs to be stored in a UndoRecord.
For now I am simply using the following line without calling a method to clear all these heavy records
e.Document.AddCustomUndoEvent(“StoreData”, _redoStoreData);

My question is, would it affect performance if I don’t clear these records?
Would these records be automatically deleted when, say, I start another command after several undos??