Galaxy Legion Forum
http://galaxylegion.com/forum/

Disable auto refresh when scanning
http://galaxylegion.com/forum/viewtopic.php?f=6&t=44435
Page 1 of 1

Author:  detregets [ Tue Aug 29, 2017 8:55 am ]
Post subject:  Disable auto refresh when scanning

The lag sucks when scanning. I suggest disabling the refresh feature while the planet scan window is open. Add a button to refresh at will

Author:  Texas Toast [ Tue Aug 29, 2017 1:09 pm ]
Post subject:  Re: Disable auto refresh when scanning

I've sent this in as a bug report before...it'd be much better if it only refreshed the planet list when you hit the "x" in the scan window or revisited the planets screen, it does make it pretty painful to scan when every single time you add a flag or scan a planet it needs to refresh the entire window.

Author:  Darth Flagitious [ Tue Aug 29, 2017 4:48 pm ]
Post subject:  Re: Disable auto refresh when scanning

There's not really much can be done about it. The only time there is any lag is when you find a planet. It then has to be added to your planet count otherwise you'd have infinite scanning. It also has to be added into your database, or else that planet could not be copied via crit hack while you're scanning. Therefore, one refresh rather than two separate ones which would make things even slower.

Author:  Thaumanovic [ Wed Aug 30, 2017 12:22 am ]
Post subject:  Re: Disable auto refresh when scanning

Darth Flagitious wrote:
There's not really much can be done about it.

It is a simple change, although I would not expect to see it happen.

Author:  Deigobene [ Wed Aug 30, 2017 1:32 am ]
Post subject:  Re: Disable auto refresh when scanning

Guide wrote:
Darth Flagitious wrote:
There's not really much can be done about it.

It is a simple change, although I would not expect to see it happen.

I don't believe that is correct.
As pointed out, the delay is when the planet is found and added to the database - it is probably not really the refresh that is the problem.
Suspect refresh is the side effect, not the cause. Adding it to your scanned planets in the database is naturally not optional.
If, for example, you filter scanned planets by "dyson" the delay when a planet is found remains. This makes me think that Darth is correct.

Author:  juiceman [ Wed Aug 30, 2017 1:35 am ]
Post subject:  Re: Disable auto refresh when scanning

agree with diegobene..my practical play experience would tend to confirm as much

Author:  Darth Flagitious [ Wed Aug 30, 2017 2:07 am ]
Post subject:  Re: Disable auto refresh when scanning

Deigobene wrote:
Darth is correct.


After 7 years you'd think people would understand that... :roll:





:mrgreen:

Author:  Kropotkin [ Tue Sep 12, 2017 5:03 pm ]
Post subject:  Re: Disable auto refresh when scanning

Darth Flagitious wrote:
There's not really much can be done about it. The only time there is any lag is when you find a planet. It then has to be added to your planet count otherwise you'd have infinite scanning. It also has to be added into your database, or else that planet could not be copied via crit hack while you're scanning. Therefore, one refresh rather than two separate ones which would make things even slower.


Maybe so, but the planet does not need to be immediately added to your list client side, and *that* is what causes the lag.

Author:  Kropotkin [ Tue Sep 12, 2017 6:01 pm ]
Post subject:  Re: Disable auto refresh when scanning

Deigobene wrote:
Guide wrote:
Darth Flagitious wrote:
There's not really much can be done about it.

It is a simple change, although I would not expect to see it happen.

I don't believe that is correct.
As pointed out, the delay is when the planet is found and added to the database - it is probably not really the refresh that is the problem.
Suspect refresh is the side effect, not the cause. Adding it to your scanned planets in the database is naturally not optional.
If, for example, you filter scanned planets by "dyson" the delay when a planet is found remains. This makes me think that Darth is correct.


Adding a single row to a table of player's planets should NOT be slow - the table only needs to contain pointers to a global planet table.

I'd assume the delay even with a filter is caused by the client reloading, then re-filtering your planets. (Although you *do* save some delay because the client does not have to render as much after the filter is applied.)

Author:  Thaumanovic [ Wed Sep 13, 2017 12:29 pm ]
Post subject:  Re: Disable auto refresh when scanning

No, Kropotkin, Darth is correct. After 7 years, you'd think that you'd have realized that already.

Don't come here with your knowledge and your facts and try to convince us otherwise. It won't work!

/s

Author:  Deigobene [ Wed Sep 13, 2017 1:30 pm ]
Post subject:  Re: Disable auto refresh when scanning

There are currently 8,818,708 entries in the global planet "database".
Accessing the Name, Size, Type, Resource Richness and Image for each one added based on the new planet ID you find will take time.
Sucks, but true. May be able to be retrieved more efficiently, maybe not. Could be a pretty chunky hunka data.
Displaying it once available will not take much time.
That bit is trivial in comparison, as is filtering it from less than 2000 planets you have on scan.

Author:  Thaumanovic [ Wed Sep 13, 2017 3:42 pm ]
Post subject:  Re: Disable auto refresh when scanning

Deigobene wrote:
May be able to be retrieved more efficiently.

Definitely.

Also, the number of planets in the database is almost irrelevant if you're retrieving a limited subset of them, so long as the table is properly indexed, which I'm just going to go ahead and say that it definitely is.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/