Skip to content

Commit 5700305

Browse files
committed
dpl: easy memory savings (Pixel 144->128 bytes)
Signed-off-by: Matt Liberty <[email protected]>
1 parent d82a19e commit 5700305

File tree

1 file changed

+2
-2
lines changed
  • src/dpl/src/infrastructure

1 file changed

+2
-2
lines changed

src/dpl/src/infrastructure/Grid.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ struct Pixel
3535
{
3636
Node* cell = nullptr;
3737
Group* group = nullptr;
38-
double util = 0.0;
38+
float util = 0.0;
3939
bool is_valid = false; // false for dummy cells
4040
bool is_hopeless = false; // too far from sites for diamond search
41-
std::map<dbSite*, dbOrientType> sites;
4241
uint8_t blocked_layers = 0;
42+
std::map<dbSite*, dbOrientType> sites;
4343
std::unordered_set<Node*>
4444
padding_reserved_by; // Cells that reserved this pixel for padding
4545
};

0 commit comments

Comments
 (0)