commit 55e95a5a024fa202b08d6dff02bcd0bf87d64391
Author: Shachar Snapiri <email address hidden>
Date: Sun Nov 26 07:45:34 2017 +0200
Modified the parsing to be more memory efficient
Removed the intermediate structure used during parsing. The printer now
does not need to be aware of the model structure.
The parser does the iteration over the fields and allows the printer to
have no logic at all (no looping through the fields).
This also saves memory and time as we do not re-create the whole model
in our new structure, but rather go over the model only once.
The EmbeddedField was not handled correctly.
Add correct handling for it.
Reviewed: https:/ /review. openstack. org/522936 /git.openstack. org/cgit/ openstack/ dragonflow/ commit/ ?id=55e95a5a024 fa202b08d6dff02 bcd0bf87d64391
Committed: https:/
Submitter: Zuul
Branch: master
commit 55e95a5a024fa20 2b08d6dff02bcd0 bf87d64391
Author: Shachar Snapiri <email address hidden>
Date: Sun Nov 26 07:45:34 2017 +0200
Modified the parsing to be more memory efficient
Removed the intermediate structure used during parsing. The printer now
does not need to be aware of the model structure.
The parser does the iteration over the fields and allows the printer to
have no logic at all (no looping through the fields).
This also saves memory and time as we do not re-create the whole model
in our new structure, but rather go over the model only once.
The EmbeddedField was not handled correctly.
Add correct handling for it.
Change-Id: I79d17533ac4beb 0cb6007161de7ae d5f5afa853a
Partial-Bug: #1734146