Results 1 to 31 of 31

Thread: [RESOLVED] to undestand array dictionarary, collection

Threaded View

  1. #19
    PowerPoster Zvoni's Avatar
    Join Date
    Sep 2012
    Location
    To the moon and then left
    Posts
    5,268

    Re: to undestand array dictionarary, collection

    Quote Originally Posted by vbwins
    Sorry I meant what is key the OP wants to use.
    It‘s a simple 1D-array of strings, all unique (no duplicates).
    for Collection/Dictionary the array-member would be key and value.
    i still don‘t understand why he just doesn’t test the performance on his dataset with all possibilities mentioned:
    collection
    dictionary
    filter-function for string-arrays
    Hash-thingy in RC6
    binary search on array
    whatever i missed….

    EDIT: one downside not mentioned for binary search: array must be sorted.
    so there might be another penalty hidden there
    Last edited by Zvoni; Apr 6th, 2022 at 11:24 AM.
    Last edited by Zvoni; Tomorrow at 31:69 PM.
    ----------------------------------------------------------------------------------------

    One System to rule them all, One Code to find them,
    One IDE to bring them all, and to the Framework bind them,
    in the Land of Redmond, where the Windows lie
    ---------------------------------------------------------------------------------
    People call me crazy because i'm jumping out of perfectly fine airplanes.
    ---------------------------------------------------------------------------------
    Code is like a joke: If you have to explain it, it's bad

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width