<div dir="ltr">Actually the example I gave would be better implemented with maps than with lists. Maps offer better readability and don't require dealing with indexes. Many UI widgets works like that, I suppose many Android developers will be happy. <div><br></div><div>I can think of some lazy computing of HttpRequests for IoT scripting.</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">El lun, 22 sept 2025 a la(s) 9:05 a.m., Maurizio Cimadamore (<a href="mailto:maurizio.cimadamore@oracle.com">maurizio.cimadamore@oracle.com</a>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>

  
  <div>
    <p>Thanks,<br>
      and, to clarify -- I meant usage of a map whose keys/values are
      computed lazily, but whose max size is fixed.</p>
    <p>Maurizio<br>
    </p>
    <div>On 22/09/2025 14:40, david Grajales
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">Hi maurizio.
        <div><br>
        </div>
        <div>I have considered one particular case but not one I would
          use a lot tho.</div>
        <div><br>
        </div>
        <div>When you are developing some UI or frontend like content
          and you have a view that requires the loading from multiple
          external sources (for example weather information and maps
          information) doing from a list of tasks lazily may be helpful.
          Not something I would use i my day by day work, I am mostly a
          pure server side developer (mostly backend and IoT); haven't
          done anything related to UI recently.</div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">El lun, 22 sept 2025 a la(s)
          7:25 a.m., Maurizio Cimadamore (<a href="mailto:maurizio.cimadamore@oracle.com" target="_blank">maurizio.cimadamore@oracle.com</a>)
          escribió:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Picking
          up on this old thread again<br>
          <br>
          On 03/09/2025 00:54, david Grajales wrote:<br>
          > So, in short the stable values are not mean for very
          dynamic scenarios <br>
          > because the API prioritize performance and efficiency at
          runtime and <br>
          > sacrifices flexibility in exchange; which translates as "
          the keys or <br>
          > at least the size of the stableValue must be know at
          compile time".<br>
          <br>
          Asking more directly -- could you see cases where specifying
          just a size <br>
          (instead of the full set of keys) could be more flexible in
          some of the <br>
          use cases you have considered?<br>
          <br>
          Maurizio<br>
          <br>
        </blockquote>
      </div>
    </blockquote>
  </div>

</blockquote></div>