ChimeraTK / ControlSystemAdapter

An adapter layer which allows to use control applications with different control system software environments.
GNU Lesser General Public License v3.0
3 stars 2 forks source link

Don't reallocate TransferFuture #23

Closed mhier closed 4 years ago

mhier commented 4 years ago

In doReadTransferAsync() currently a new TransferFuture and notification queue is created. This involves dynamic memory allocation and should be avoided. Instead the TransferFuture should be stored in the first call (or even in the constructor) and reused in any subsequent calls.

mhier commented 4 years ago

this does no longer apply after the interface change