<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:56:07 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[YANGTOOLS-1426] Consider bits type storage</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-1426</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;YANG &apos;bits&apos; type is currently mapped to a Set&amp;lt;String&amp;gt;. This has pros (like model-independence) and cons (storage overhead).&lt;br/&gt;
Assuming schema-informedness, we should be able to provide a Set which is backed by an int (or a long, or a byte[]) plus a offset-to-name mapping. This would lower our storage requirements in places where we can assume such a mapping.&lt;/p&gt;</description>
                <environment></environment>
        <key id="35500">YANGTOOLS-1426</key>
            <summary>Consider bits type storage</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="3" iconUrl="https://jira.opendaylight.org/images/icons/statuses/inprogress.png" description="This issue is being actively worked on at the moment by the assignee.">In Progress</status>
                    <statusCategory id="4" key="indeterminate" colorName="yellow"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="rkashapov">Ruslan Kashapov</assignee>
                                    <reporter username="rovarga">Robert Varga</reporter>
                        <labels>
                    </labels>
                <created>Mon, 11 Apr 2022 19:13:40 +0000</created>
                <updated>Thu, 21 Dec 2023 08:54:25 +0000</updated>
                                                            <fixVersion>14.0.0</fixVersion>
                                    <component>data-impl</component>
                    <component>data-util</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="71556" author="JIRAUSER14303" created="Tue, 18 Oct 2022 11:14:17 +0000"  >&lt;p&gt;I have a few questions regarding this issue, compared to &lt;a href=&quot;https://jira.opendaylight.org/browse/MDSAL-746&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.opendaylight.org/browse/MDSAL-746&lt;/a&gt;, I was working with bit values (0 or 1). &lt;br/&gt;
In this case, storing these values was pretty straightforward, as these primitive types consist of booleans.&lt;br/&gt;
However currently, I do not work with bit values, I work with bit names only. Hence, if will transform Set&amp;lt;String&amp;gt; to Integer, &lt;br/&gt;
I still need to have this set of string names stored somewhere and mapped to the bit position.&lt;/p&gt;

&lt;p&gt;1.  How is envisioned to replace Set&amp;lt;String&amp;gt; with Set backed by primitive data types such as int, long, and byte[]?&lt;br/&gt;
2.  How would this lower storage requirement when this set of bit names still needs to exist?&lt;br/&gt;
3.  What exactly is meant by offset-to-name mapping?&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=rovarga&quot; class=&quot;user-hover&quot; rel=&quot;rovarga&quot;&gt;rovarga&lt;/a&gt; do you have any thoughts/advice? &lt;/p&gt;</comment>
                            <comment id="71718" author="JIRAUSER13216" created="Thu, 1 Dec 2022 12:23:09 +0000"  >&lt;p&gt;changes below are obsolete and can abandoned&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/c/yangtools/+/102901&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/c/yangtools/+/102901&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/c/yangtools/+/103058&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/c/yangtools/+/103058&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/c/mdsal/+/103029&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/c/mdsal/+/103029&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="71730" author="JIRAUSER13216" created="Tue, 13 Dec 2022 11:31:32 +0000"  >&lt;p&gt;final change introducing dedicated Bits artifact&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/c/yangtools/+/103659&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/c/yangtools/+/103659&lt;/a&gt;&lt;br/&gt;
addresses &lt;a href=&quot;https://git.opendaylight.org/gerrit/c/yangtools/+/102901/comments/e0f469a5_4d2d8317&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/c/yangtools/+/102901/comments/e0f469a5_4d2d8317&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="35505">MDSAL-746</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0422n:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>