Alpha v1.0.0

Commits

All Rust commits from Facepunch

10 total commits for branch:
/

Member Avatar
Daniel P14/04/202608:53:00
rust_reboot/main/remove_netgroup_prealloc (#148562)

Update: cleanup ClientVisibilityProvider when disconnecting from the server Tests: disconencted from local server

0
0
Likes and dislikes cannot be added/removed here. Please go to the official Facepunch Commits site to do this.
Public Commit
Member Avatar
Daniel P14/04/202606:24:36
rust_reboot/main/remove_netgroup_prealloc (#148555)

Merge: from main

0
0
Likes and dislikes cannot be added/removed here. Please go to the official Facepunch Commits site to do this.
Public Commit
Member Avatar
Daniel P13/04/202619:07:28
rust_reboot/main/remove_netgroup_prealloc (#148509)

Update: dispose netgroups when NetVisGrid gets disabled Tests: booted into craggy and stopped - no errors

0
0
Likes and dislikes cannot be added/removed here. Please go to the official Facepunch Commits site to do this.
Public Commit
Member Avatar
Daniel P13/04/202618:59:00
rust_reboot/main/remove_netgroup_prealloc (#148508)

Clean: remove Provider.Init method Tests: ran UpdateSubscriptionConsistency test, booted into craggy

0
0
Likes and dislikes cannot be added/removed here. Please go to the official Facepunch Commits site to do this.
Public Commit
Member Avatar
Daniel P13/04/202618:32:02
rust_reboot/main/remove_netgroup_prealloc (#148504)

Optim: Get rid of NetGroup pre-allocation, use thread-safe lazy allocation Comparing memory snapshots, we go from 2.1mil NetGroups down to 131, saving 140MB Tests: booted to Craggy and ran around. ran UpdateSubscriptionsConsistency unit test.

0
0
Likes and dislikes cannot be added/removed here. Please go to the official Facepunch Commits site to do this.
Public Commit
Member Avatar
Daniel P13/04/202617:52:00
rust_reboot/main/remove_netgroup_prealloc (#148502)

Clean: move group initialization from PopulateCells to GetGroup Tests: ran around on craggy

0
0
Likes and dislikes cannot be added/removed here. Please go to the official Facepunch Commits site to do this.
Public Commit
Member Avatar
Daniel P13/04/202616:39:03
rust_reboot/main/remove_netgroup_prealloc (#148501)

Clean: remove Visibility.Manager.groups - also remove all provider == null checks Tests: compiles

0
0
Likes and dislikes cannot be added/removed here. Please go to the official Facepunch Commits site to do this.
Public Commit
Member Avatar
Daniel P13/04/202616:29:34
rust_reboot/main/remove_netgroup_prealloc (#148498)

Update: add ClientVisibilityProvider - mostly a dud Provider, most methods do nothing - Upodated all places to use ClientVisibilityProvider instead of null This allows to remove groups from Network.Visiblity.Manager Tests: booted into craggy, ran GameTraceTests

0
0
Likes and dislikes cannot be added/removed here. Please go to the official Facepunch Commits site to do this.
Public Commit
Member Avatar
Daniel P13/04/202615:45:26
rust_reboot/main/remove_netgroup_prealloc (#148493)

Update: instead of iterating all netgroups, add Provider.ForEach(layer, callback) method - get rid of Visibility.Manager.Groups accessor This removes public access to groups dictionary, so almost there to remove it Tests: booted to craggy, opened deep sea and ran deepsea.printentitycount

0
0
Likes and dislikes cannot be added/removed here. Please go to the official Facepunch Commits site to do this.
Public Commit
Member Avatar
Daniel P13/04/202614:59:14
rust_reboot/main/remove_netgroup_prealloc (#148487)

Update: Visibility.Provider now can create network groups in a thread-safe fashion - organized hardcoded groups into their own collection - Network.Visibility.Manager now defers to provider's GetGroup and TryGetGroup Not sure if I want to support NetworkVisibilityGrid on CLIENT or not, but will try to clean it up in a bit Tests: Booted and ran around on craggy. compiled for all modes separately

0
0
Likes and dislikes cannot be added/removed here. Please go to the official Facepunch Commits site to do this.
Public Commit
Rust Utility Hub - Commits - main/remove_netgroup_prealloc