BeeStation-Hornet icon indicating copy to clipboard operation
BeeStation-Hornet copied to clipboard

[PORT] Removes overlay queuing, saves 6/7 seconds of initialize. Lightly modifies stat tracking macros (+some sprite error fix)

Open EvilDragonfiend opened this issue 11 months ago • 13 comments

About The Pull Request

  • https://github.com/tgstation/tgstation/pull/69696

So we have this overlay queuing system right? It's built with the assumption that the "add to overlay list" operation is real expensive, and is thus useful to queue removals or additions.

It turns out that it just isn't, at least during init. In my testing the operation of queuing took LONGER then the actual overlay add/remove did.

That's ignoring the cost of the subsystem's work.

I've also modified part of the stat tracking macro, since it took a good bit of cpu time, and didn't seem to well, do anything. So far as I can tell it always evaluates to 1

This PR does likely bug fix and corrects a weird behaviour There is some removal of zmimic code but it's fully okay and I checked daedalus overylay subsystem follows this TG version.

Why It's Good For The Game

bug fix

Testing Photographs and Procedure

image

my character is hiding in a pot

image

fire alarm respects alert level

image

cult halo okay

image

mob overlays okay

Changelog

:cl: code: mildly cleaned up flags_1 defines code: ported a refactor of subsystem overlay from TG. Overlay list is now trustful. /:cl:

EvilDragonfiend avatar Mar 14 '24 06:03 EvilDragonfiend

correcting all icon states are painful

EvilDragonfiend avatar Mar 14 '24 07:03 EvilDragonfiend

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Apr 02 '24 17:04 github-actions[bot]

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar May 11 '24 10:05 github-actions[bot]

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Jul 14 '24 10:07 github-actions[bot]

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Jul 30 '24 18:07 github-actions[bot]

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Aug 15 '24 11:08 github-actions[bot]

Has this been tested with multi-z?

not yet. I will try with echo.

EvilDragonfiend avatar Sep 01 '24 08:09 EvilDragonfiend

Has this been tested with multi-z?

Looks alright to me.

EvilDragonfiend avatar Sep 01 '24 09:09 EvilDragonfiend

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Sep 09 '24 19:09 github-actions[bot]

god wtf echo lint failed can't do this today

EvilDragonfiend avatar Sep 13 '24 16:09 EvilDragonfiend

okay echo lint seems to be not my fault. it's from other PRs too

EvilDragonfiend avatar Sep 13 '24 16:09 EvilDragonfiend

fixed now. ready for a review.

EvilDragonfiend avatar Sep 14 '24 15:09 EvilDragonfiend

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Oct 08 '24 19:10 github-actions[bot]