World of Spectrum
  • Categories
  • Discussions
  • FAQ
  • Sign In
Home › Search
Title Search
@title beer Word 'beer' in title
User Search
  • @user admin Only posts by Admin
Text Search
  • @body beer Word 'beer' in the text
Phrase Search
"Hello World" Exact phrase match
Exclude Terms
  • car -red Search cars that are not red
"Or" Searches
  • honda | bmw 'honda' or 'bmw' results
Multi-Field
@(title,body) hello Both contain 'hello'
WildCard
  • hond* civ* Match all with an astrix
Combination
  • @title bmw @user admin
See more supported syntax examples
Search Again :: Adv Search 1000 results in 0.011s
<1234567…34>
  • In Machine Code, what is the quickest way to sort bytes?I am playing around with some ordering of sprites, where I want to order them by vertical position. I used some Rodnay Zaks code to order some bytes…

    ... en.wikipedia.org/wiki/Comb_sort"]Comb Sort[/URL] is actually faster ... than quick sort in either best or ... and 20 minutes for comb to sort 80,000 records. But ... out of order.

    ;COMB SORT
    ; PARAMETERS: NumberOfElements = number ...
    JamesD JamesD September 2006 Development
  • The Only Reason Sinclair Succeeded (Provoking Controversy)Although I love my Sinclairs dearly, I think that the only reason they succeeded was because at the time most people did not know any better (factori…

    ... clock cycles!):
    Since a sort in a game is likely ... after the first time the sort has been run then for ... be. A more complex sort routine (quick sort, comb sort) would also be interesting ...
    JamesD JamesD September 2006 Sinclair Miscellaneous
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    Try looking up the comb sort. It should rival quicksort. If I remember right, it actually beats quicksort on best or worst case... not sure which. Since it is kinda based on the bubble sort it should be easy to implement.
    JamesD JamesD October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... ;481446]Try looking up the comb sort. It should rival quicksort. ... />
    Coded up a example COMB SORT and it is significantly slower ... that my SHELL SORT version (~12 seconds to ... br />
    [CODE]110 REM COMB SORT V1
    120 LET b ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... /> Coded up a example COMB SORT and it is significantly slower ... that my SHELL SORT version (~12 seconds to ...
    [CODE]110 REM COMB SORT V1
    120 LET b ... me.
    The comb sort is supposed to repeat ... br /> [CODE]110 REM COMB SORT V1
    120 LET ...
    JamesD JamesD October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... this.
    [CODE]110 REM COMB SORT V2
    120 LET b ...
    JamesD JamesD October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... right to me.
    The comb sort is supposed to repeat without ... end up with an incomplete sort.

    If you can ... it
    [CODE]110 REM COMB SORT V1
    120 LET b ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... this.
    [CODE]110 REM COMB SORT V2
    ...[/CODE][/QUOTE]< ...
    Coded up your V2 Comb Sort and got the following results ...
    Paddy's original V1 Comb Sort = ~20 seconds
    Paddy's ... s V2 Comb Sort = ~29 seconds
    Jame's V2 Comb Sort (using 1 ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    I just checked the comb sort samples on the web and the code is not supposed to repeat at each level. The only place it will repeat is when the gap is 1 so so Paddy's code had that right.
    JamesD JamesD October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... p.
    [CODE]110 REM COMB SORT V3
    120 p=1 ...
    JamesD JamesD October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... Average 13.44 seconds
    Comb Sort v1 (Paddy) ... Average 20 ... .05 seconds
    Comb Sort v2 (JamesD) ... Average 26 ... .42 seconds
    Comb Sort v3 (JamesD) ... Average 13 ... .26 seconds
    Comb Sort v4 (JamesD) ... Average 13 ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... would indicate that your v3 Comb Sort is marginally faster than the ... remember right, the Comb Sort, Quick Sort, and Shell Sort are pretty neck & ... thing I liked about the Comb Sort was it's pretty ... />
    [CODE]
    110 REM COMB SORT V5
    120 LET p ...
    JamesD JamesD October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... /> Original v4 Comb Sort ... ~13.45 seconds
    Multiplication v5 Comb Sort ... ~14.95 ... seconds
    Constants v6 Comb Sort ... ~14.42 ... from the fact that the sort stops working!).

    Paddy
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... ]
    [CODE]
    110 REM COMB SORT V6
    120 LET o ...
    Dr BEEP Dr BEEP October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... SUB 240
    110 REM COMB SORT V7
    120 LET p ... :
    PRINT AT 0,0;"COMB SORT v7";
    AT 2,0 ... above code gives an average sort time of 15.7 seconds ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... party! Looks like the Quick Sort is er... quick although I ... rather than 64 in the Comb/Shell Sort examples. What do you ... overly keen on the Quick Sort as it uses recursion and ... though - I will revist the Comb Sort to see if they can ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... ;483573]Looks like the Quick Sort is er... quick although I ... rather than 64 in the Comb/Shell Sort examples. What do you ... overly keen on the Quick Sort as it uses recursion and ... though - I will revist the Comb Sort to see if they can ...
    Einar Saukas Einar Saukas October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    [QUOTE=Einar Saukas;483584]Good luck![/QUOTE]

    Checked the Shell and Comb sort programs for your tips and we are already doing all of those. Worth checking though.

    Thanks

    Paddy
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... of to speed up the comb sort would be to use another ...
    JamesD JamesD October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... the INT() slowed down the sort... so does inserting INT() at ... the start speed up the sort a tiny bit? Maybe for ... ?
    [CODE]
    110 REM COMB SORT V4.1
    120 LET ...
    JamesD JamesD October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... . here.
    [CODE]110 REM COMB SORT V7.4?
    120 LET ... this:
    [CODE]110 REM COMB SORT V7.4?
    120 LET ...
    JamesD JamesD October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... the INT() slowed down the sort... so does inserting INT() at ... the start speed up the sort a tiny bit? Maybe for ... ?
    [CODE]
    110 REM COMB SORT V4.1
    120 LET ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... :
    [CODE]
    110 REM COMB SORT V7.2?
    120 LET ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... />
    [CODE]
    110 REM COMB SORT V7.3?
    120 LET ... to run it for every sort.
    Combined 150 and 160 ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... !):

    [CODE]110 REM COMB SORT V4.3
    120 LET ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... ;484023]
    [CODE]110 REM COMB SORT V4.3
    120 LET ...
    JamesD JamesD October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... of code for the actual sort, 120 could be combined with ... separate.
    [CODE]110 REM COMB SORT V7.?
    120 LET p ...
    JamesD JamesD October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... 48K Spectrum to run either comb sort or quicksort ([B]step 4 ... programs should be able to sort about 8,000 numbers in ...
    Einar Saukas Einar Saukas October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... SUB 230
    110 REM COMB SORT V4.4
    120 LET ... :
    PRINT AT 0,0;"COMB SORT v4.4";AT 2,0 ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
  • Sorting an array...Hi Folks, Over the weekend I had a play with sorting algorithms - takes me back to my student days! :-o My first try was with the good old Bubble S…

    ... .

    [CODE]110 REM COMB SORT V4.5
    120 LET ...
    Paddy Coleman Paddy Coleman October 2010 Sinclair Basic
<1234567…34>

Latest Posts

  • Frankie's ZX Spectrum Digouts
    Zup on 1:58PM
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on 1:02PM
  • Minor British Sports that did become games on the ZX Spectrum
    harriusherbartio on 12:42AM
  • 1992 Spectrum Software
    harriusherbartio on April 7
  • Celebrity deaths...
    mel the bell on April 7
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 7
  • spectrum in netflix bomb and the cold war documentary
    zxbruno on April 7
  • Are there any decent Speccy Flight Sims?
    harriusherbartio on April 7
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 6
  • Tradtional games that were not programmed on the ZX Spectrum
    harriusherbartio on April 6

HitBox

Word Docs Hits
comb 177 239
sort 17.1K 18.7K

Related Threads

  • Arcade Game (sort of)Eric and the floaters. A very early 'bomberman'.<br /> <br /> This got ported to Spanish, Pepe y los globos. :)<br /> <br /> I love them both, cos y…
  • Name of sort of board-battle-game???...Guys,<br /> <br /> I can't remember the name of a game that was similar to a chess game (not Battle Chess i think). I mean you play it on a board, ha…
  • Worst game - sort ofAny suggestions for worst game - but not just worst game period - the worst game that has had a lot of work go into it and ought to have been good, b…
  • Damn, this sort of thing makes me angry.[url="http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&amp;item=3038531795&amp;category=11994"]http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&amp;ite…
  • Name the games (Well sort of games)The first one i remember playing this on our school spectrum around 85/86<br /> <br /> you had to build a castle motte and bailey i think using worke…
  • The Tomb of Dracula remake (sort of)!I have converted The Tomb of Dracula (a crappy Spectrum game from K-Tel) to the Commodore 64(!) Have a look at [url="http://www.geocities.com/tombofd…
  • What sort of new games would you like to see on the Speccy?With the amount of coders we have around, I'm surprised that we don't see more new Speccy games.<br /> <br /> _________________<br /> [url="http://ww…
  • In Machine Code, what is the quickest way to sort bytes?I am playing around with some ordering of sprites, where I want to order them by vertical position.<br /> <br /> I used some Rodnay Zaks code to orde…
  • Monty on the Run walkthrough - sort ofHi,<br /> <br /> a friend of mine just sent this to me. Hope it's not yet as well-known as "Hey, hey, 16k". If it is, please forgive me.<br /> <br />…
  • monty mole 3d type game thingy sort offthink trap door but with monty mole instead of berk. <br /> thats the kinda thing we are going for. sort of <br /> <br /> anyhoo - couple of shots. …

Related Searches

  • bubble sort
  • sort
  • comb
  • comb hikoki
  • comb blues
  • comb listening
  • sort dr beep
  • sort dr beep idea 123
  • short sort
  • short sort routine
  • sort price
  • sort by price
  • agd sprite sort
  • sevenup sort
  • sevenup byte sort priority
  • sort routine
  • sort algorithm
  • does anyone know what a good beep combination is for sort of you can t do that sound
  • sort routine dr beep
  • sevenup byte sort order priority

Copyright © 2024 World of Spectrum