en.delphipraxis.net/topic/4575-why-is-tarraybinarysearch-slower-than-normal-binary-search-function/),

Preview meta tags from the en.delphipraxis.net website.

Linked Hostnames

6

Search Engine Appearance

Google

https://en.delphipraxis.net/topic/4575-why-is-tarraybinarysearch-slower-than-normal-binary-search-function/),

Why is TArray.BinarySearch slower than normal binary search function?

My simple test shows TArray.BinarySearch is about 6x slower than custom binary search function: GetName_TArrayBinarySearch: 858 GetName_CustomBinarySearch: 131 I was expecting similar timings. Is this just a fact or did I set up this example wrongly: program Project1; {$APPTYPE CONSOLE} {$R *.res...



Bing

Why is TArray.BinarySearch slower than normal binary search function?

https://en.delphipraxis.net/topic/4575-why-is-tarraybinarysearch-slower-than-normal-binary-search-function/),

My simple test shows TArray.BinarySearch is about 6x slower than custom binary search function: GetName_TArrayBinarySearch: 858 GetName_CustomBinarySearch: 131 I was expecting similar timings. Is this just a fact or did I set up this example wrongly: program Project1; {$APPTYPE CONSOLE} {$R *.res...



DuckDuckGo

https://en.delphipraxis.net/topic/4575-why-is-tarraybinarysearch-slower-than-normal-binary-search-function/),

Why is TArray.BinarySearch slower than normal binary search function?

My simple test shows TArray.BinarySearch is about 6x slower than custom binary search function: GetName_TArrayBinarySearch: 858 GetName_CustomBinarySearch: 131 I was expecting similar timings. Is this just a fact or did I set up this example wrongly: program Project1; {$APPTYPE CONSOLE} {$R *.res...

  • General Meta Tags

    5
    • title
      Why is TArray.BinarySearch slower than normal binary search function? - Algorithms, Data Structures and Class Design - Delphi-PRAXiS [en]
    • charset
      utf-8
    • viewport
      width=device-width, initial-scale=1
    • description
      My simple test shows TArray.BinarySearch is about 6x slower than custom binary search function: GetName_TArrayBinarySearch: 858 GetName_CustomBinarySearch: 131 I was expecting similar timings. Is this just a fact or did I set up this example wrongly: program Project1; {$APPTYPE CONSOLE} {$R *.res...
    • theme-color
      #346f99
  • Open Graph Meta Tags

    7
    • og:title
      Why is TArray.BinarySearch slower than normal binary search function?
    • og:type
      object
    • og:url
      https://en.delphipraxis.net/topic/4575-why-is-tarraybinarysearch-slower-than-normal-binary-search-function/
    • og:description
      My simple test shows TArray.BinarySearch is about 6x slower than custom binary search function: GetName_TArrayBinarySearch: 858 GetName_CustomBinarySearch: 131 I was expecting similar timings. Is this just a fact or did I set up this example wrongly: program Project1; {$APPTYPE CONSOLE} {$R *.res...
    • og:updated_time
      2021-03-18T14:32:58Z
  • Twitter Meta Tags

    1
    • twitter:card
      summary
  • Link Tags

    11
    • alternate
      https://en.delphipraxis.net/rss/1-new-topics.xml/
    • alternate
      https://en.delphipraxis.net/rssalltopics.xml/
    • canonical
      https://en.delphipraxis.net/topic/4575-why-is-tarraybinarysearch-slower-than-normal-binary-search-function/
    • shortcut icon
      https://en.delphipraxis.net/uploads/monthly_2018_11/favicon.ico.020df3ba12dd9fb453b85b3c3cee72ab.ico
    • stylesheet
      https://en.delphipraxis.net/uploads/css_built_2/341e4a57816af3ba440d891ca87450ff_framework.css.95ce43c18da7465debc2be9bd1a0846c.css?v=8789c2f592

Links

42