On 2017-10-19 16:36, Slichter, Daniel H. (Fed) via ARTIQ wrote:
Judging from the absence of replies to this email, we will not support
generators on the core device nor MultiScanManager.
My main question with this is about time efficiency -- if you were to
go to the effort to support this on the core device, will it end up
taking a lot longer (i.e. processor slack) than the current way of
just passing a list to the kernel which it can step through to scan
something?
Slightly slower for integer-only (after optimization) scans, and
quite a bit slower for FP scans, than just traversing the list.
However, compiling and loading very large lists as parts of kernels
is slow, so there's a spectrum from 1-10 steps (unrolled list
is clearly better) to 10,000-100,000 steps (generators are
clearly better), with some mixture of these in between.
--
Peter Zotov
___
ARTIQ mailing list
https://ssl.serverraum.org/lists/listinfo/artiq