Search found 561 matches

by Kurzer
Sat Oct 14, 2023 11:44 am
Forum: Announcement
Topic: PureBasic 6.03 LTS is released !
Replies: 184
Views: 37678

Re: PureBasic 6.03 LTS is released !

Hello PB team, also from me a big thank you for your tireless work on this bugfix release. Image
by Kurzer
Sat Oct 14, 2023 9:19 am
Forum: The PureBasic Editor
Topic: Looking for the appropriate icon names for a custom PB IDE theme
Replies: 2
Views: 634

Re: Looking for the appropriate icon names for a custom PB IDE theme

Great, thank you freak. The entry in the Theme.prefs I had actually forgotten, it is too long ago that I had done that.
Thanks also for the list of icon names on github. Image
by Kurzer
Sat Oct 14, 2023 12:09 am
Forum: The PureBasic Editor
Topic: Looking for the appropriate icon names for a custom PB IDE theme
Replies: 2
Views: 634

Looking for the appropriate icon names for a custom PB IDE theme

Hi, I want to display some missing icons in the PB IDE toolbar using a theme pack I created myself. Unfortunately it is not clear what the names of the icons should be. I tried with the name that is displayed in the Settings dialog in the selection list, but that doesn't work. Is there some kind of ...
by Kurzer
Fri Oct 13, 2023 11:32 pm
Forum: Feature Requests and Wishlists
Topic: Please sort the entries in settings comboboxes
Replies: 1
Views: 375

Please sort the entries in settings comboboxes

I just noticed that the entries in the comboboxes for the "Toolbar Layout" are not sorted alphabetically. If you are looking for a specific entry, this is extremely inconvenient, because you have to search through the whole list. A sorting would be very helpful here. https://i.ibb.co/zsTFj...
by Kurzer
Wed Oct 11, 2023 8:30 am
Forum: Coding Questions
Topic: Optimization of a sorting algorithm
Replies: 74
Views: 4530

Re: Optimization of a sorting algorithm

Wow, the thread has developed rapidly. Aweseome! :D Even if, for professional reasons, I can no longer contribute so much this week, I would like to answer a few questions. Is there a specific reason for using this reference based approach ? No, not really. LOL When I started developing the WinHandl...
by Kurzer
Sat Oct 07, 2023 9:07 pm
Forum: Coding Questions
Topic: Optimization of a sorting algorithm
Replies: 74
Views: 4530

Re: Optimization of a sorting algorithm

Yuki, thanks for your further test, which showed that V6 is still not working properly. I will use your V4 sorting until further notice. But at the moment some other problems arise while working on the WinHandler modul. I think I have to completely rebuild the internal management of the gadgets afte...
by Kurzer
Sat Oct 07, 2023 2:11 pm
Forum: Coding Questions
Topic: Optimization of a sorting algorithm
Replies: 74
Views: 4530

Re: Optimization of a sorting algorithm

... so far. https://www.purebasic.fr/german/images/smilies/allright.gif I have now fixed the incorrect sorting in V6 sorting. Yuki, your data is now sorted correctly by V6 as well. For sorting, I have divided the Sort value into an odd slot (999999, 999997, 999995, etc.) and an even slot (999998, 9...
by Kurzer
Sat Oct 07, 2023 11:38 am
Forum: Coding Questions
Topic: Optimization of a sorting algorithm
Replies: 74
Views: 4530

Re: Optimization of a sorting algorithm

[...] ...but this also means chains longer than 2-elements have no sorting guarantees. In these cases, it relies on iteration order, so it's fine as long as the user hasn't registered controls out-of-order You are absolutely right. Unfortunately, I have to declare the V6 invalid in its current form...
by Kurzer
Fri Oct 06, 2023 11:27 pm
Forum: Coding Questions
Topic: Optimization of a sorting algorithm
Replies: 74
Views: 4530

Re: Optimization of a sorting algorithm

Oh damn, it gave me no peace. I like such optimization tasks... and so I wanted to make it even more compact and with even less additional variables, lists or maps. Tonight I created the sorting algorithm V6 and I can't really believe that this little procedure sorts correctly. I tested it manually ...
by Kurzer
Fri Oct 06, 2023 8:06 am
Forum: Coding Questions
Topic: Optimization of a sorting algorithm
Replies: 74
Views: 4530

Re: Optimization of a sorting algorithm

Yuki, I have now fixed my error that I mentioned here . All sorting algorithms now work properly. This thread has brought a great development. Great, I will now adopt your V5 in modified form in my module. Thanks a lot for lending me your experience and "brain power" ;-) I hope I can retur...
by Kurzer
Tue Oct 03, 2023 8:26 pm
Forum: Coding Questions
Topic: Optimization of a sorting algorithm
Replies: 74
Views: 4530

Re: Optimization of a sorting algorithm

Found the Problem.... but I am watching my code at the phone. :( In my example the ref Button "button setting_x" must be named "button settings_x". I forgot the "s". will fix it tomorrow and check the code. wohaaa, I'll kill my german autocorrection.... typed every Word...
by Kurzer
Tue Oct 03, 2023 7:06 pm
Forum: Coding Questions
Topic: Optimization of a sorting algorithm
Replies: 74
Views: 4530

Re: Optimization of a sorting algorithm

https://www.purebasic.fr/german/images/smilies/allright.gif https://www.purebasic.fr/german/images/smilies/allright.gif https://www.purebasic.fr/german/images/smilies/allright.gif https://www.purebasic.fr/german/images/smilies/allright.gif Yuki and Olli, thank you very much for your immense coopera...
by Kurzer
Mon Oct 02, 2023 10:25 pm
Forum: Coding Questions
Topic: Optimization of a sorting algorithm
Replies: 74
Views: 4530

Re: Optimization of a sorting algorithm

LOL - Irony of fate. Now I have integrated the sorting algorithm V3 into my module and.... now I accidentally created a gadget list constellation that doesn't sort correctly. :D (where is the smiliey with the caneval stream?) So everything from the beginning and start over. With multiple, iterative ...
by Kurzer
Mon Oct 02, 2023 8:21 am
Forum: Coding Questions
Topic: Optimization of a sorting algorithm
Replies: 74
Views: 4530

Re: Optimization of a sorting algorithm

Hello Yuki, yeah, I was hoping the experts would speak up at some point. :lol: I have never heard of DAG* before (and had to google it), but your solution seems to be "industry standard". It is programmatically more complex, but much more flexible and secure than my approach. Therefore man...
by Kurzer
Sun Oct 01, 2023 8:31 pm
Forum: Coding Questions
Topic: Optimization of a sorting algorithm
Replies: 74
Views: 4530

Re: Optimization of a sorting algorithm

I think I have now found a very satisfactory solution through the symbiosis of list and map. I have now measured the performance of my three different sorting functions using a high-resolution performance timer and no longer in the number of list accesses, since a map is now also involved. With the ...