[mlpack-svn] [MLPACK] #136: remove blocking system calls from computationally intensive inner loops

MLPACK Trac trac at coffeetalk-1.cc.gatech.edu
Wed Nov 30 11:34:56 EST 2011


#136: remove blocking system calls from computationally intensive inner loops
--------------------------+-------------------------------------------------
  Reporter:  nslagle      |        Owner:     
      Type:  enhancement  |       Status:  new
  Priority:  major        |    Milestone:     
 Component:  MLPACK       |   Resolution:     
  Keywords:               |     Blocking:     
Blocked By:               |  
--------------------------+-------------------------------------------------

Comment (by nslagle):

 One example is the GaussianKernel object.  Rather than instantiating a
 kernel for every bandwidth I intend to apply, it might make sense to
 leverage a single kernel object with bandwidth of 1.0, then reuse said
 object repeatedly.  This eliminates several additional ''malloc''s and
 ''free''s throughout the code, ostensibly speeding the calculations.  One
 possibility is to reduce kernel objects to simply function calls through a
 singleton interface.

-- 
Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/136#comment:1>
MLPACK <www.fast-lab.org>
MLPACK is an intuitive, fast, and scalable C++ machine learning library developed by the FASTLAB at Georgia Tech under Dr. Alex Gray.


More information about the mlpack-svn mailing list