diff options
author | Robert Varga <robert.varga@pantheon.tech> | 2017-05-25 19:03:18 +0200 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-05-26 18:14:20 +0000 |
commit | ed1e242866704d1f8654e44ed32c4b431d2d5795 (patch) | |
tree | e98ae927f2d2b42f9f4e369fefddff1a75aa5bc6 /src/vpp-api/python | |
parent | 612a383e7f6cb9a6b846674a09a19299ed31a138 (diff) |
Improve jvppgen object array member instantiation
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>
Diffstat (limited to 'src/vpp-api/python')
0 files changed, 0 insertions, 0 deletions