No BSD License  

Highlights from
Benchmark clear() behavior with OOP handle

Be the first to rate this file! 7 Downloads (last 30 days) File Size: 1.77 KB File ID: #23132 Version: 1.0

Benchmark clear() behavior with OOP handle



Examine Matlab's "clear" behavior with different handle reference configurations.

| Watch this File

File Information

Create N handle objects, store 1-3 references to each.

Order of object creation, number of references, and configuration of references all have drastic impact on "clear" time as function of number of objects. Times range from flat, to linear, to quadratic.

Using a simple handle class:
% % classdef simpleHandle < handle
% % properties
% % ref1;
% % ref2;
% % end
% % methods
% % function self = simpleHandel
% % end
% % end
% % end

MATLAB release MATLAB 7.7 (R2008b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us