Search found 1399 matches

by Bugala
Fri Jan 16, 2026 6:47 pm
Forum: General programming
Topic: SpeedTesting table creation Table[n] = x, CreateList, and Copytable comparison.
Replies: 4
Views: 51

Re: SpeedTesting table creation Table[n] = x, CreateList, and Copytable comparison.

Thanks, Took a try of using InsertItem and now there was a big difference, not that far from 10 times faster being using CreateList. Finally that makes sense. I always been wondering about how come CreateList is supposed to be 10 times faster, when it often times in my tests have even lost to regula...
by Bugala
Fri Jan 16, 2026 4:27 pm
Forum: General programming
Topic: SpeedTesting table creation Table[n] = x, CreateList, and Copytable comparison.
Replies: 4
Views: 51

Re: SpeedTesting table creation Table[n] = x, CreateList, and Copytable comparison.

You are right, I completely missed I was using same n on both loops inside those first two, no wonder they were so much faster. By changing them into locals, as I should have done right from the beginning, it took so long that I changed the numbers to 1000 instead of 10000: CreateList: 416 RegularTa...
by Bugala
Fri Jan 16, 2026 1:02 pm
Forum: General programming
Topic: SpeedTesting table creation Table[n] = x, CreateList, and Copytable comparison.
Replies: 4
Views: 51

SpeedTesting table creation Table[n] = x, CreateList, and Copytable comparison.

I found the result surprising, I was expecting CopyTable to be the fastest way to set a new table in situation where table has some predefined values, but seems creating them from new is the fastest way to go: HowManyTimes = 10000 HowManyIndexes = 10000 StartTimer(1) For n = 1 To HowManyTimes Testi ...
by Bugala
Mon Jan 12, 2026 10:22 am
Forum: General programming
Topic: OpenAI & Hollywood
Replies: 7
Views: 3874

Re: OpenAI & Hollywood

Last I tried, it had got better again, but its been a while since I tried. Main problem is that there isnt enough examples in internet for LLM to grab the Hollywood. However, someone could train AI specifically for Hollywood I suppose, especially, since even with the current model if you yourself te...
by Bugala
Fri Dec 12, 2025 5:09 pm
Forum: General programming
Topic: CreateList Modifying Items.
Replies: 2
Views: 768

CreateList Modifying Items.

It says in the CreateList description: "The disadvantage is that adding or removing items may only be done via InsertItem() and RemoveItem(). You must not add or remove items from optimized lists by modifying the table directly. It's necessary to use the functions mentioned above. " But is...
by Bugala
Tue Dec 02, 2025 8:02 pm
Forum: General programming
Topic: Some Questions.
Replies: 5
Views: 4575

Re: Some Questions.

Yes, this was it, thanks!

Couldn't figure out the name, although funnily, I did check the forum with OnError, but not the Hollywood manual.
by Bugala
Tue Dec 02, 2025 7:52 am
Forum: General programming
Topic: Some Questions.
Replies: 5
Views: 4575

Re: Some Questions.

I guess by now this OnError has happened, what was the implementation? Im recalling Hollywood had some command to disable crashing on error and instead just continue, but I dont remember this commands name as I by defailt would not use it. Now, however, I exceptionally have one line where I want to ...
by Bugala
Mon Dec 01, 2025 11:06 am
Forum: Hollywood bugs
Topic: No display modes found (should be monitor 1)
Replies: 1
Views: 859

No display modes found (should be monitor 1)

I got this very strange bug report, which suggests there could be a bug in Hollywood. Error message: "No Display modes found! File: ... - in Function GetDisplayModes()" I will still confirm this later, to make sure something isnt affecting the monitor number somehow, but i cant figure out ...
by Bugala
Fri Nov 14, 2025 5:19 pm
Forum: General programming
Topic: Saving Functions to JSON-file, what happens?
Replies: 3
Views: 1078

Saving Functions to JSON-file, what happens?

I just noticed I had used in some cases something like: Creature = {X=10, Y=10} Function Creature.Move() Creature.X = Creature.X + 1 Creature.Y = Creature.Y + 1 EndFunction Function Creature:Bark() Debugprint("Wof!") EndFunction When I save this as JSON file, and then load it later, will b...
by Bugala
Tue Oct 21, 2025 10:59 am
Forum: Newbie questions
Topic: Hollywood programming in Linux?
Replies: 3
Views: 1382

Re: Hollywood programming in Linux?

Um, You do know that Hollywood is available in native builds for all kinds of Linux platforms? (x86, x64, arm and even PPC). No need to use Windows emulators, just use the real thing (tm) ;) Oh. Must have been somehow thinking Designer in my head thinking it is only available to Amiga and PC, altho...