Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a defaultdict for BlockInfo in htex scale-in (#3300)
This is to accomodate upcoming expansion of the block_info dictionary to include data from an additional source (the list of blocks known to the scaling code) This change arises from a review of PR #3232, an earlier prototype of that expansion work. Behaviourally, this shouldn't change anything: it changes invalid block accesses from key errors into blocks that are infinitely idle and completely unloaded. However there are no indexes into block_info except in code that is adding block information, so this situation should not arise.
- Loading branch information