|
From: | anonymous |
Subject: | [Octave-patch-tracker] [patch #9017] Financial Package: Vectorization of function daysact.m |
Date: | Thu, 2 Jun 2016 20:21:12 +0000 (UTC) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0 |
URL: <http://savannah.gnu.org/patch/?9017> Summary: Financial Package: Vectorization of function daysact.m Project: GNU Octave Submitted by: None Submitted on: Do 02 Jun 2016 20:21:09 UTC Category: None Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Email: address@hidden Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: Hello! During code review I recognized that there is non-vectorized code in the function daysact.m. There are for-loops through all elements of the input vectors. Attached you find my suggestion for vectorization (more or less removing 80% of existing code). There is a significant performance increase of factor 2. Comments welcome! Best, Stefan _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Do 02 Jun 2016 20:21:10 UTC Name: daysact.diff Size: 1kB By: None hg diff of daysact.m with vectorized code. <http://savannah.gnu.org/patch/download.php?file_id=37363> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/patch/?9017> _______________________________________________ Nachricht gesendet von/durch Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |