forked from netty/netty
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass struct's per pointer to eliminate memory copy.
Motivation: Before struct's were passed per value and not pointer. This did enforce a memory copy which is not needed. Modifications: - Use "const struct....*" as replacement Result: No more unnecessary memory copies
- Loading branch information
1 parent
01bc2d6
commit 6c24dd4
Showing
1 changed file
with
23 additions
and
23 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