Skip to content
Snippets Groups Projects
  • Studer Gabriel's avatar
    82ce3c83
    lDDT: limit max number of possible chain mappings · 82ce3c83
    Studer Gabriel authored
    Not that it is helpful to enumerate more chain mappings than atoms
    in the universe, but the limit is mainly in place to avoid a
    memory explosion. We're using a itertools.product there. From the
    docu: Before product() runs, it completely consumes the input
    iterables, keeping pools of values in memory to generate the products.
    Accordingly, it is only useful with finite inputs.
    82ce3c83
    History
    lDDT: limit max number of possible chain mappings
    Studer Gabriel authored
    Not that it is helpful to enumerate more chain mappings than atoms
    in the universe, but the limit is mainly in place to avoid a
    memory explosion. We're using a itertools.product there. From the
    docu: Before product() runs, it completely consumes the input
    iterables, keeping pools of values in memory to generate the products.
    Accordingly, it is only useful with finite inputs.