|
From: | Dan Sebald |
Subject: | [Octave-bug-tracker] [bug #53794] ishold(hax) is slow when an axis handle is passed in because of ancestor() routine |
Date: | Mon, 30 Apr 2018 16:35:56 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
URL: <http://savannah.gnu.org/bugs/?53794> Summary: ishold(hax) is slow when an axis handle is passed in because of ancestor() routine Project: GNU Octave Submitted by: sebald Submitted on: Mon 30 Apr 2018 08:35:54 PM UTC Category: None Severity: 3 - Normal Priority: 5 - Normal Item Group: Performance Status: None Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: dev Operating System: Any _______________________________________________________ Details: Compare: >> tic; for i=1:10000; ishold(); endfor; toc Elapsed time is 3.0081 seconds. >> tic; fig = gcf(); for i=1:10000; ishold(fig); endfor; toc Elapsed time is 3.11939 seconds. >> tic; hax = gca(); for i=1:10000; ishold(hax); endfor; toc Elapsed time is 8.5717 seconds. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?53794> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |