Aim-Educational / FarmMaster

MIT License
0 stars 0 forks source link

[1 to 2 weeks] Implement Animals and their pages. #12

Closed BradleyChatha closed 4 years ago

BradleyChatha commented 5 years ago

To start:

Then:

Then:

Then:

Then:

Considerations for future and present:

Notes:

I completely give up on trying to make uploading an image not explode the RAM usage. This version seems much better than the old version though, as a singular user can constantly upload images with a stable amount of memory (except it jumps up ~200MB the first time, before stabilising), which I suspect is down to my preemptive use of reusing memory (C# makes this harder than it should be btw).

Downloading images from the server is infinitely more better than before though, hardly any impact on memory, I think the old version may have been going through EF when it shouldn't have, likely causing the massive spikes.