Noita-Together / noita-together

Play alone together
MIT License
49 stars 15 forks source link

Tweak build, fix broadcast #97

Closed myndzi closed 11 months ago

myndzi commented 11 months ago

(Build args are passed like so: docker build --build-arg="UID=$(id nginx -u)" --build-arg="GID=$(id nginx -g)" -t "$IMAGE_NAME" -f "./.dockerfile" .)

I also made this a plain for loop with var, since it's a hot path. Microbenchmarks have lots of problems, but since I'm trying to see if this specific code path can improve CPU usage, I'll take what bits I can get. The loop portion of the code is not where the cpu usage is going, but eh. If my other code goes well, this'll be all deferred to C++ with much better pubsub performance anyway.

image