<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Patch Set 1:</p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">I'm not quite sure this (like many other patches here) are a big improvement [...]</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">ACK. This change looks more like getting rid of C++ code and rewriting to C. What are the benefits?</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">The idea is to slowly get rid of lots of boilerplate classes and code which are not really useful since we already have libosmocore counterparts, shrinking and cleaning up osmo-trx code base. It also makes it easier for people used to osmocom code to understand, contribute and maintain the code, lowering the entry barrier. I usually find myself losing time trying having to go through all those classes to understand a small snippet of code, and end up seeing there's not real point in using them, and those contain lots of death code anyway.<br>After these changes I find all this related code far easier to understand and improve than it was before.</p><p style="white-space: pre-wrap; word-wrap: break-word;">By cleaning up the code it was visible for instance that normalization procedure was applied to guard periods which are not really used from that point onwards. By using C++ classes in low level code I ended up having to use silly for loops in some places a long time ago instead of using memcpy, etc.</p><p style="white-space: pre-wrap; word-wrap: break-word;">So as the guy who's usually investing efforts in fixing stuff and adding new features to osmo-trx, I really see the benefits on the long run.</p><p><a href="https://gerrit.osmocom.org/c/osmo-trx/+/14643">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-trx/+/14643">change 14643</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-trx/+/14643"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-trx </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I726e5a98a43367a22c9a4ca5cbd9eb87e6765c7a </div>
<div style="display:none"> Gerrit-Change-Number: 14643 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 02 Jul 2019 11:15:12 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>