You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#360 (comment)
Keeping a separate bool allows continuing to hide hidden termini in the HB (in hopes of getting an error report in the forum) while preventing ERROR: segment name mismatch in HGEdge collapse constructor.
More importantly, losing the bool won't make a Waypoint object any smaller, due to alignment requirements. There's an unsigned int right before it.
At first glance this might suggest nixing is_hidden to keep sizeof down, except...
Long-term plans include changing vertex from a pointer to a 32-bit array index. Due to alignment requirements, this gives us 4 more bytes to play around with.
In which case we may as well keep is_hidden.
That last item being the case, leaving this issue closed.
Activity
yakra commentedon Apr 1, 2023
#360 (comment)
Keeping a separate
boolallows continuing to hide hidden termini in the HB (in hopes of getting an error report in the forum) while preventingERROR: segment name mismatch in HGEdge collapse constructor.More importantly, losing the bool won't make a
Waypointobject any smaller, due to alignment requirements. There's anunsigned intright before it.yakra commentedon Feb 26, 2024
point_num, and removing it is a no-brainer.is_hiddento keepsizeofdown, except...vertexfrom a pointer to a 32-bit array index. Due to alignment requirements, this gives us 4 more bytes to play around with.is_hidden.That last item being the case, leaving this issue closed.