-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement
shrink_to_fit
for MeshGraph
.
This change introduces a `shrink_to_fit` function for `MeshGraph`s. To achieve this with little overhead, `Core` now exposes its storage fields in the `graph` module, bypassing `AsStorage` and `Dispatch`. The dispatch mechanism isn't needed for `MeshGraph`, which only ever operates on an `OwnedCore` and known storage types.
- Loading branch information
1 parent
d33539c
commit 3f55673
Showing
3 changed files
with
49 additions
and
18 deletions.
There are no files selected for viewing
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
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
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