2002 2003 2004 2005 2006 2007 2008 2009 <2010> 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 | Index | 2002 2003 2004 2005 2006 2007 2008 2009 <2010> 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: [Merge] lp:~dirk.zimoch/epics-base/named-soft-events into lp:epics-base |
From: | Dirk Zimoch <[email protected]> |
To: | [email protected] |
Date: | Mon, 25 Oct 2010 21:34:42 -0000 |
I modified the code to run with O(1) in most cases. Only if the event name actually changed, the event list is searched. Checking for change costs only one strcmp when the value did not change. The check is only done if event.VAL or calcout.VAL is read though event.INP or event.SIOL. I also replaced the semaphore lock with something quicker. I will commit the modifications as soon as I have checked everything and have run some tests. -- https://code.launchpad.net/~dirk.zimoch/epics-base/named-soft-events/+merge/26190 Your team EPICS Core Developers is requested to review the proposed merge of lp:~dirk.zimoch/epics-base/named-soft-events into lp:epics-base.