Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from:
ed1e242
)
Improve jvppgen object array member instantiation
81/6881/3
author
Robert Varga
<robert.varga@pantheon.tech>
Thu, 25 May 2017 17:03:18 +0000
(19:03 +0200)
committer
Damjan Marion
<dmarion.lists@gmail.com>
Fri, 26 May 2017 18:14:20 +0000
(18:14 +0000)
Since all objects of the array have the same type, the object
constructor is a loop invariant. Move the lookup out of the loop,
making things faster.
Change-Id: I631c72b59c6c63eccd49ede41c6dc0541c325db9
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Signed-off-by: Robert Varga <nite@hq.sk>
No differences found