Skip to content

Cache variables#54

Open
schmittner wants to merge 2 commits into
akeranen:masterfrom
schmittner:cache-variables
Open

Cache variables#54
schmittner wants to merge 2 commits into
akeranen:masterfrom
schmittner:cache-variables

Conversation

@schmittner
Copy link
Copy Markdown
Contributor

These two patches should give considerable speed-ups especially when running large simulations.

Otherwise, we have to recalclate everytime we want to get the
currently free space. If we carry many messages, the current
approach (iterarting over all messages) is highly inefficient.
Again, the current appraoch (iterating over all interfaces) is
highly inefficient. In the default scenario, this patch resulted in
a 20% speed-up on my test hardware.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant