mirror of
https://github.com/fafhrd91/actix-net
synced 2025-06-27 03:49:03 +02:00
Avoid a copy of the Future when initializing the Box. (#29)
Future's can be pretty big (> 1500 bytes) so this probably worth doing. I confirmed with memcpy-find that this did infact eliminate two ~1500 byte copies from the actix-web basic example.
This commit is contained in:
committed by
Nikolay Kim
parent
1b3cd0d88c
commit
9271b95c87
@ -24,3 +24,4 @@ tokio-current-thread = "0.1"
|
||||
tokio-executor = "0.1.5"
|
||||
tokio-reactor = "0.1.7"
|
||||
tokio-timer = "0.2.8"
|
||||
copyless = "0.1.4"
|
||||
|
Reference in New Issue
Block a user