[Gambas-user] Testing scripter, but found this script to be slow
brian at westwoodsvcs.com
Sun Jan 10 23:39:10 CET 2021
Dont undestand what you mean by
4x theta and phi spacings, and you should have almost four times better performance.
do you mean increase the spacing by 4, then yes that would make it do less work.
But I am really wondering what gambas is doing that makes it so much slower without the fast.
when mostly its is math. 131,xxx iterations per image depending of screen size.
Maybe it was a silly question, oh well.
From: "Jussi Lahtinen" <jussi.lahtinen at gmail.com>
To: "Gambas mailing list" <user at lists.gambas-basic.org>
Sent: Sunday, January 10, 2021 2:16:56 PM
Subject: Re: [Gambas-user] Testing scripter, but found this script to be slow
At least the "unsafe" should be unnecessary for good performance. Look at what the profiler says.
To me it looks like you are doing a lot of unnecessary operations. 4x theta and phi spacings, and you should have almost four times better performance.
On Sun, Jan 10, 2021 at 10:36 PM Brian G < [ mailto:brian at westwoodsvcs.com | brian at westwoodsvcs.com ] > wrote:
I have been testing scripter, using the attached script.
This does not have anything to do with the actual testing
But if i remove the fast unsafe the program barely runs. I was wondering if anyone cold tell me why?
It is really amazing to me the difference.
----[ [ http://gambaswiki.org/wiki/doc/netiquette | http://gambaswiki.org/wiki/doc/netiquette ] ]----
----[ http://gambaswiki.org/wiki/doc/netiquette ]----
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the User