[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

someStructArray(1:end) = []; clear someStructArray;

From: Timothy Biglow
Subject: someStructArray(1:end) = []; clear someStructArray;
Date: Wed, 22 Feb 2017 06:52:04 +0000 (UTC)

Please advise whether or not one of the subject statements is better to use than the other; or does it depend on circumstances?
Is there a general best practice (wrt memory/performance efficiency) for emptying a struct array?

Very gratefully yours,
Tim Biglow

reply via email to

[Prev in Thread] Current Thread [Next in Thread]