-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Remote entity reservation v9 #18670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ElliottjPierce
wants to merge
127
commits into
bevyengine:main
Choose a base branch
from
ElliottjPierce:Remote-Entity-Reservation-v9
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,075
−63
Open
Remote entity reservation v9 #18670
Changes from 64 commits
Commits
Show all changes
127 commits
Select commit
Hold shift + click to select a range
3472810
chunk data
ElliottjPierce 2ce0fb4
get and set chunks
ElliottjPierce 3a8f328
free and alloc
ElliottjPierce c37c32b
remote_alloc
ElliottjPierce d40c4ba
SharedAllocator
ElliottjPierce e028a6d
Allocator
ElliottjPierce af83bf3
construction
ElliottjPierce dac8921
fix small bug
ElliottjPierce cd864b4
fixed another small bug
ElliottjPierce b38df40
remote allocation
ElliottjPierce 46dce5f
begin integrating the allocator
ElliottjPierce 2bda8ec
fixed length methods
ElliottjPierce 3bd5666
docs and fix errors
ElliottjPierce 4752167
allocation implemented
ElliottjPierce 45693d2
fix reserving
ElliottjPierce e010509
fix free
ElliottjPierce 0c3507e
RemoteEntities
ElliottjPierce 15e36d5
implement Debug again
ElliottjPierce c1bff6c
fixed bug where entity length was wrong
ElliottjPierce 867baff
don't test unimplemented
ElliottjPierce cb298fa
rename for clarity
ElliottjPierce 86c0cda
track pending and flush
ElliottjPierce c4e2f56
clarified flush behavior
ElliottjPierce 7333626
allow remote pending to be flushed
ElliottjPierce a8ce70d
queue pending
ElliottjPierce 3abdac7
flush reserve_entities
ElliottjPierce f729253
naming consistency
ElliottjPierce af9f9db
iterator drop warning
ElliottjPierce 7edefb5
restore old `get` behavior
ElliottjPierce e11d173
fixed flushing
ElliottjPierce ee4aca2
performance note
ElliottjPierce fc8b229
improve bulk reservation performance via slice iterators
ElliottjPierce b8ca351
remove unimplemented benches
ElliottjPierce 9a227ec
inlining
ElliottjPierce 804c513
remove unneeded flush
ElliottjPierce 7325370
removed or justified more flush calls
ElliottjPierce c3530d9
improve spawn batch perf by 50%
ElliottjPierce 6aa5de6
added a early return for local
ElliottjPierce c9ddbde
Revert "added a early return for local"
ElliottjPierce 6741f70
fixed doc
ElliottjPierce d4ab0be
fix test
ElliottjPierce 773cddf
fix docs
ElliottjPierce 4fa1764
improve clarity of pending list
ElliottjPierce 7553d11
use atomics for Slot
ElliottjPierce e22b93f
new length tracking system
ElliottjPierce aef45a9
polish
ElliottjPierce ef1ff7d
Fix length encoding bug
ElliottjPierce 2bb1ae5
fix generation logic
ElliottjPierce 76f6709
suggestions from review
ElliottjPierce 3352576
ensure the free list has valid data
ElliottjPierce bc1797e
Fix typos
ElliottjPierce 91113a2
post review rename
ElliottjPierce ffbf746
fix doc
ElliottjPierce cdafe06
pack entities when supported
ElliottjPierce a3791ba
Retain benchmarks
ElliottjPierce 9ee241b
fix compile
ElliottjPierce 92a7c1c
justify `set_len` generation
ElliottjPierce bf9e308
use disabling for freeing
ElliottjPierce 4fcb74c
remote allocation never leaks
ElliottjPierce 2c08503
justify encode_pop
ElliottjPierce 37732b2
updated FreeBufferLen docs
ElliottjPierce fd68df5
improve perf of Slot::set
ElliottjPierce 1b77882
fix lint
ElliottjPierce 3e7ad2c
added migration guide
ElliottjPierce 1f186b9
relax safety on `Slot::get`
ElliottjPierce 4a088b3
clean up safety comments
ElliottjPierce 72ec8a8
simplified `map_to_indices`
ElliottjPierce 3ec4d6a
simplified buffer construction
ElliottjPierce 335f916
create a separate chunk buffer type
ElliottjPierce fa98c39
document new functions
ElliottjPierce 9a7133d
renames
ElliottjPierce 81618f0
use strong arcs for remote allocation
ElliottjPierce 6d00049
removed Slot::ptr
ElliottjPierce 27c17c6
fixed alloc_many bug
ElliottjPierce 5fce1f9
fixed doc
ElliottjPierce a419834
fix alloc_many bug
ElliottjPierce a8e4fda
use try_from_bits
ElliottjPierce a590137
reded FreeCount
ElliottjPierce 797310c
inlining
ElliottjPierce b9a9430
rename for clarity
ElliottjPierce 880a98d
fixed doc
ElliottjPierce 2447190
provide spinloop escape hatch
ElliottjPierce c3bc4ad
Merge branch 'main' into Remote-Entity-Reservation-v9
ElliottjPierce 4fd8d92
fixed bevy platform rename
ElliottjPierce 8850a55
Apply suggestions from code review
ElliottjPierce ab9f9fd
remove unneeded parentheses
ElliottjPierce f0d830f
Merge branch 'Remote-Entity-Reservation-v9' of https://github.com/Ell…
ElliottjPierce 9e7c308
Clarify todo
ElliottjPierce f2b991a
fix wrong comment
ElliottjPierce 4eead35
document and justify `Slot`
ElliottjPierce 17506fe
Clarify comments
ElliottjPierce 1fdbdfa
Fix more comments
ElliottjPierce 8165830
Fix even more comments
ElliottjPierce e0e5ffd
clarify concurrency comments
ElliottjPierce 29745c7
Merge branch 'Remote-Entity-Reservation-v9' of https://github.com/Ell…
ElliottjPierce 10932c7
clarify what empty slot means
ElliottjPierce 061c85a
Merge branch 'main' into Remote-Entity-Reservation-v9
ElliottjPierce 1ce4951
fix Entities
ElliottjPierce 4695899
pushed problems to allocator
ElliottjPierce d5b9566
fixed all the errors
ElliottjPierce 3bf8506
small fixes
ElliottjPierce 98d4ddc
fix free list iterator
ElliottjPierce 2853878
tests pass
ElliottjPierce 92be130
use AllocUniqueEntitiyRowIterator
ElliottjPierce 3c653b5
final fixes to allocator
ElliottjPierce 4841bea
final touches to Entities
ElliottjPierce f7ccc67
typos
ElliottjPierce 392b12b
fix no u64 atomics
ElliottjPierce 6241bee
redo migration guide
ElliottjPierce ca8babb
ok, now no u64 atomics should work.
ElliottjPierce 08883b1
Better wording for a comment
ElliottjPierce 5fdf8f4
Apply suggestions from Doot's review
ElliottjPierce 016bbfd
use from_raw_and_generation
ElliottjPierce 5fb2e20
clarify risks of set_state_risky
ElliottjPierce 7213070
remove comment for num_free
ElliottjPierce 961ad11
better naming of FreeBufferIterator
ElliottjPierce 2fc167b
Merge branch 'main' into Remote-Entity-Reservation-v9
ElliottjPierce 71921de
fix formatting
ElliottjPierce 1a68b8e
Merge branch 'main' into Remote-Entity-Reservation-v9
ElliottjPierce 71d7708
update `EntityAllocator` to use remote allocation
ElliottjPierce 6bbd437
add some helpful module docs
ElliottjPierce 65c9274
clean up the remote allocator
ElliottjPierce 3222f65
clean up from a few more review suggestions
ElliottjPierce 27d1aec
cleaned up diff
ElliottjPierce 6d1b296
update tiny migration guide
ElliottjPierce 9a7d094
thinned out diff
ElliottjPierce 937f647
Merge branch 'main' into Remote-Entity-Reservation-v9
ElliottjPierce File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.