Attention is currently required from: pespin.
fixeria has posted comments on this change. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36254?usp=email )
Change subject: library: add templates for L1CTL_{DATA,TRAFFIC}_CONF
......................................................................
Patch Set 1:
(1 comment)
File library/L1CTL_Types.ttcn:
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36254/comment/906940f3_5886…
PS1, Line 859: template L1ctlMessage
Just adding those would have been far quicker
Yes, but I would still want to understand how would this affect the
validation/compilation/execution, rather than quickly (and blindly) doing what you
suggested. My current understanding is that adding `(present)` to receive templates does
not bring noticeable improvements. I am not convinced by your arguments, sorry.
It's a discussion like adding "static"
or "const" to a variable in C
In the case of `static` or `const` in C, I do see the benefits of using those keywords.
And many of us could provide enough examples how `static` and/or `const` improved
readability or prevented them from shooting their own legs. But here it feels more like a
theoretical improvement.
Out of curiosity, I even compared the resulting C++ code with and without the `(present)`
in the `tr_FooBar` definition: no changes, except the `module_checksum[]`. So I am
assuming that TITAN implicitly defaults to `(present)`.
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36254?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I914555ac8bf2784c14e1b5564b116221ecc7b539
Gerrit-Change-Number: 36254
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 13 Mar 2024 18:02:53 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: comment