Skip to content
Snippets Groups Projects
  1. Aug 09, 2021
  2. Jul 21, 2021
  3. Jul 16, 2021
  4. Jul 15, 2021
    • Gunther Weber's avatar
    • Kenneth Moreland's avatar
      Update code to use ArrayCopyShallowIfPossible · 1fb11417
      Kenneth Moreland authored
      There were several places in the code that had to check the type of an
      `UnknownArrayHandle` and conditionally get or copy that array. This code
      is simplified by using `ArrayCopyShallowIfPossible`.
      1fb11417
    • Kenneth Moreland's avatar
      Add ArrayCopyShallowIfPossible · 5c36eafe
      Kenneth Moreland authored
      Often times you have an array of an unknown type (likely from a data set),
      and you need it to be of a particular type (or can make a reasonable but
      uncertain assumption about it being a particular type). You really just
      want a shallow copy (a reference in a concrete `ArrayHandle`) if that is
      possible.
      
      `ArrayCopyShallowIfPossible` pulls an array of a specific type from an
      `UnknownArrayHandle`. If the type is compatible, it will perform a shallow
      copy. If it is not possible, a deep copy is performed to get it to the
      correct type.
      
      Fixes #572.
      5c36eafe
  5. Jul 14, 2021
  6. Jul 13, 2021
  7. Jul 12, 2021
  8. Jun 30, 2021
  9. Jun 28, 2021
Loading