-
Notifications
You must be signed in to change notification settings - Fork 732
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
LADX: fix modifying item pool in pre_fill #2060
Conversation
Sounds like this is related to #1460? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this will break plando on Tarin's Gift (Mabe Village). Is this expected?
(Especially if we move it to create_items,) enumerate(self.multiworld.itempool)
should be replaced by a local list of candidates, because iterating over all of multiworld is kinda slow and gets slower with each added slot.
In my ER branch I've rewritten to do exactly that -
https://github.com/ArchipelagoMW/Archipelago/pull/1613/files#diff-3810d5b98b98412cb09c53bf2d31f49f7c56de2993b988e4471fd9cbf32dfaecR520
…On Fri, Oct 27, 2023 at 3:24 AM black-sliver ***@***.***> wrote:
***@***.**** commented on this pull request.
I believe this will break plando on Tarin's Gift (Mabe Village). Is this
expected?
(Especially if we move it to create_items,)
enumerate(self.multiworld.itempool) should be replaced by a local list of
candidates, because iterating over all of multiworld is kinda slow and gets
slower with each added slot.
—
Reply to this email directly, view it on GitHub
<#2060 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB6TRTCNMZ6AOODA7YSWH2LYBODVBAVCNFSM6AAAAAA25MXLHWVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTOMBRGQ3DCMZUGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Does this PR need to wait on #1613 then? |
What is this fixing or adding?
The enforced start item was happening a bit too early, this moves it into create_items
How was this tested?
Genned a few times, ran the test in the other branch
If this makes graphical changes, please attach screenshots.