Results 1 to 15 of 15

Thread: How to Sort 2 Dimensional Array with 5 Columns

Hybrid View

  1. #1
    PowerPoster Elroy's Avatar
    Join Date
    Jun 2014
    Location
    Near Nashville TN
    Posts
    10,918

    Re: How to Sort 2 Dimensional Array with 5 Columns

    *laughs, shakes my head, and shouts out to moderator*

    OMG, shut this thread down before they bring in fractals and/or chaos theory to optimize their sorts.

    Poor mhnvb gave us a four line situation that he wanted sorted, and we're talking about the entire history of sorting algorithms. LMAO.

    In my mind, optimal sorting has LONG been relegated to the bowels of more low level programming, and need not be a concern of RAD (end-user application) programmers.

    But hey ho, if VB6 can do it, let's go for it. But wait, VB6 doesn't use CPU registers as efficiently as C and other lower level programs (or even assembler). So shouldn't we start talking about optimal use of CPU registers?

    Y'all Take Care,
    Elroy
    Any software I post in these forums written by me is provided "AS IS" without warranty of any kind, expressed or implied, and permission is hereby granted, free of charge and without restriction, to any person obtaining a copy. To all, peace and happiness.

  2. #2
    PowerPoster
    Join Date
    Jun 2013
    Posts
    7,454

    Re: How to Sort 2 Dimensional Array with 5 Columns

    Quote Originally Posted by Elroy View Post
    In my mind, optimal sorting has LONG been relegated to the bowels of more low level programming, and need not be a concern of RAD (end-user application) programmers.
    Since the vbRuntime does not offer built-in Sort-Methods (aside from the crude VB-ListBox-workaround) -
    one either has to use external libraries - or implement a Sort-Algo in the VB-language itself.

    So - since that is the situation, I don't really see why discussions about Sort-Algo-efficiency is misplaced -
    or "not a concern for RAD-programmers".

    Quote Originally Posted by Elroy View Post
    But hey ho, if VB6 can do it, let's go for it. But wait, VB6 doesn't use CPU registers as efficiently as C and other lower level programs (or even assembler). So shouldn't we start talking about optimal use of CPU registers?
    You seem not to be aware of the fact, that VB5/6-versions compile natively over a C-Compiler,
    which ships with the product and ensures a compiled runtime-performance which is comparable
    to the output of VC++6.

    There's enough VB6-implemented routines out there, which outperform their counterparts
    which were done in "native-C" (as one finds them in the vbRuntime or other MS-libs).

    Olaf

Tags for this Thread

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