You are not logged in -
nap
CSDb User Forums
Forums
>
C64 Coding
>
Sorting
2007-10-08
16:08
Oswald
Registered: Apr 2002
Posts: 5017
Sorting
are sorters really so slow in games? :) I have made my unrolled version for my theoretical game (;), and it takes 132 rlines to sort 32 numbers o_O worst case is ~200 lines. tho when its the case of 4 numbers have to be swapped only it does the job in ~10 lines. wastes a lot of memory but I like it :)
... 201 posts hidden. Click
here
to view all posts....
2020-05-10
18:50
mhindsbo
Account closed
Registered: Dec 2014
Posts: 50
Yes that is what I did above. The load and cmp of y coordinates is faster, but the sorting of the indexes becomes slower. And with the double dey all in all the original implementation is faster (unless I missed something).
2020-05-11
11:13
Oswald
Registered: Apr 2002
Posts: 5017
I see, too bad
Previous
-
1
| ... |
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
21
| 22 - Next
Refresh
Subscribe to this thread:
You need to be logged in to post in the forum.
Search the forum:
Search
All forums
C64 Coding
C64 Composing
C64 Pixeling
C64 Productions
CSDb Bug Reports
CSDb Discussions
CSDb Entries
CSDb Feedback
CSDb Info
CSDb moderators
CSDb Questions
CSDb V2 development
Messages to moderators
Requests
for
in
Writer & text
Text
Writer
All times are CET.
Search CSDb
All
Releases
Groups
Sceners
Events
BBS
SIDs
-------
Forum
Comments
Advanced
Users Online
CA$H/TRiAD
Holy Moses/Role
Menace/Spaceballs
Yogibear/Protovision
Courage
Low Spirit
bOOZElEE
Ax!s/Onslaught - TND
Shake/Role
Guests online: 165
Top Demos
1
Next Level
(9.8)
2
Mojo
(9.7)
3
Coma Light 13
(9.7)
4
Edge of Disgrace
(9.6)
5
Comaland 100%
(9.6)
6
No Bounds
(9.6)
7
Uncensored
(9.6)
8
Wonderland XIV
(9.6)
9
Memento Mori
(9.6)
10
Bromance
(9.5)
Top onefile Demos
1
It's More Fun to Com..
(9.7)
2
Party Elk 2
(9.7)
3
Cubic Dream
(9.6)
4
Copper Booze
(9.5)
5
TRSAC, Gabber & Pebe..
(9.5)
6
Rainbow Connection
(9.5)
7
Wafer Demo
(9.5)
8
Dawnfall V1.1
(9.5)
9
Quadrants
(9.5)
10
Daah, Those Acid Pil..
(9.5)
Top Groups
1
Nostalgia
(9.3)
2
Oxyron
(9.3)
3
Booze Design
(9.3)
4
Censor Design
(9.3)
5
Crest
(9.3)
Top Musicians
1
Vincenzo
(9.8)
2
Rob Hubbard
(9.7)
3
Stinsen
(9.7)
4
Jeroen Tel
(9.6)
5
Linus
(9.6)
Home
-
Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.204 sec.