octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #31305] slow contour plot


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #31305] slow contour plot
Date: Sat, 25 Jun 2011 13:18:42 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.19) Gecko/20110430 Iceweasel/3.5.19 (like Firefox/3.5.19)

Follow-up Comment #43, bug #31305 (project octave):

Almost all of the time seems to be spent here:


  //FIXME: text_renderer could be cached
  ft_render text_renderer;
  text_renderer.set_font (get ("fontname").string_value (),
                          get ("fontweight").string_value (),
                          get ("fontangle").string_value (),
                          get ("fontsize").double_value ());


in the function axes::properties::get_ticklabel_extents in the file
graphics.cc.  So yes, I'd say that caching text_renderer is the right thing to
do!

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31305>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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