fa icon indicating copy to clipboard operation
fa copied to clipboard

Re: Abstract and Optimize Reclaim Labels

Open Hdt80bro opened this issue 2 years ago • 7 comments

Redirecting from https://github.com/4z0t/fa/pull/2 to here

Hdt80bro avatar Sep 23 '22 23:09 Hdt80bro

image

Looks exciting! Reporting an issue on my end

Garanas avatar Oct 06 '22 06:10 Garanas

Yeah, I had it working, but then something broke when I removed the debug code. Go figure.

Hdt80bro avatar Oct 06 '22 19:10 Hdt80bro

That should mitigate the problem for now, though I think the color scaling I put in should be adjusted.

Hdt80bro avatar Oct 06 '22 19:10 Hdt80bro

I discourage this kind of PRs, lots of changes not related to its name.

4z0t avatar Oct 07 '22 17:10 4z0t

Nearly all of it is--the only thing I could have left out were some of the Layout helpers, but I already needed some of changes and the rest needed to be done as well. Not worth a separate PR. You might be looking at some of the changes that affect other files (the annotation stuff in particular can look unrelated), however, those are things that shouldn't be done separately. We have tried separating out aspects into different PR's in the past and it is nasty.

Hdt80bro avatar Oct 07 '22 23:10 Hdt80bro

The performance degraded quite a bit, in comparison to what we have in deploy/fafdevelop, do you have an idea where the extra time is going towards to?

Garanas avatar Oct 12 '22 07:10 Garanas

Yes, I made the mistake of optimizing before abstracting... it's finally working like I want it to, but I need to do another optimization pass. I suspect it's how I'm handling frame updates.

Hdt80bro avatar Oct 13 '22 04:10 Hdt80bro

I've done a review and I'm not sure.

When moving the camera this solution lags more, causing it to dip down to 20 - 30 fps on my computer. Meanwhile the solution we have on deploy/fafdevelop remains at 60 fps or more. I like a lot of the work in this pull request, one of them being the smoother colors. But I'm not sure if the performance drop is acceptable, especially as I have a relatively fast computer.

Let us sit down together next week and discuss it over voice.

Garanas avatar Oct 23 '22 07:10 Garanas

How i understand you xd

4z0t avatar Oct 28 '22 21:10 4z0t

@Hdt80bro I'll close this pull request tomorrow. Time caught up and this pull request feels dated at this point

Garanas avatar Dec 11 '22 15:12 Garanas