Created
October 5, 2017 03:42
-
-
Save iskakaushik/d3f05209146ff97e7ed86f935a7aa9c3 to your computer and use it in GitHub Desktop.
This file contains 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
class Run { | |
Bin bin; // bins are further down in our discussion | |
RegionSize regionSize; // the region size for this run. | |
List<Page> pages; // pages that are a part of this run. | |
int numFreeRegions; | |
int totalNumRegions = pages.size() / regionSize; | |
boolean freeRegions[totalNumRegions]; // initially all set to true | |
// more metadata to quickly identify the first available region | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment