title: Fill range table from internal table without duplicates
body: <p>I wonder what's usually faster:  </p>
  
  <ul>
  <li>Filter out duplicates and then do the select<br>
  or  </li>
  <li>Do the select directly with duplicates  </li>
  </ul>
  
  <p>I think it may be the first one but I don't know -<br>
  <strong>how to nicely and efficiently integrate the deletion of duplicates in my code?</strong></p>
  
  <pre><code>DATA:
    lt_itab       TYPE TABLE OF string,
    lt_range_itab TYPE RANGE OF string
    .
  
  * Populating itab with duplicates
  * Can the following somehow become a neat one-liner? This is ugly!
  APPEND '1'  TO lt_itab.
  APPEND '2'  TO lt_itab.
  APPEND '2'  TO lt_itab.
  APPEND '3'  TO lt_itab.
  APPEND '4'  TO lt_itab.
  APPEND '4'  TO lt_itab.
  
  *Populating range table from itab
  *Should one remove the duplicates here for a performance boost in the upcoming select?
  *If so - how?
  *-------------------------------------------------------
  lt_range_itab = VALUE #(
    FOR &lt;ls_itab&gt; IN lt_itab
    ( sign = 'I'
      option = 'EQ'
      low = &lt;ls_itab&gt; )
  ).
  
  *...or is such a select usually faster than the time it takes to remove the duplicates?
  *-------------------------------------------------------
  *SELECT *
  *  FROM       anyTable
  *  INTO TABLE @DATA(lt_new_data)
  *  WHERE      anyProperty NOT IN @lt_range_itab.
  </code></pre>