<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:11:33 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>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CDRIVER-1097] bson_oid_to_string does not use fast-path code with Visual Studio</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-1097</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;Commit (8d7a2b7cdd429d6d5a7853848a804b29ab619b1a) added a #define guard for the fast-path code for bson_oid_to_string that ensured it was only enabled on x86 platforms.&lt;/p&gt;

&lt;p&gt;When I build on Windows, this fast-path code is not enabled (see the first line of bson_oid_to_string):&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;#if !defined(&amp;#95;&amp;#95;i386&amp;#95;&amp;#95;) &amp;amp;&amp;amp; !defined(&amp;#95;&amp;#95;x86&amp;#95;64&amp;#95;&amp;#95;)&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;Neither of these macros is defined by Visual Studio.&lt;/p&gt;</description>
                <environment>Visual Studio 12 2013 Win64</environment>
        <key id="264235">CDRIVER-1097</key>
            <summary>bson_oid_to_string does not use fast-path code with Visual Studio</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="bjori">Hannes Magnusson</assignee>
                                    <reporter username="mavc">Maverick Chan</reporter>
                        <labels>
                    </labels>
                <created>Tue, 9 Feb 2016 20:52:04 +0000</created>
                <updated>Wed, 10 Aug 2016 22:10:35 +0000</updated>
                            <resolved>Fri, 11 Mar 2016 18:37:03 +0000</resolved>
                                    <version>1.3.2</version>
                                    <fixVersion>1.4.0</fixVersion>
                                    <component>libbson</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1204601" author="mavc" created="Tue, 15 Mar 2016 22:12:43 +0000"  >&lt;p&gt;Cool, thanks for reviewing!&lt;/p&gt;</comment>
                            <comment id="1200908" author="bjori" created="Fri, 11 Mar 2016 18:37:03 +0000"  >&lt;p&gt;Thanks for the patch!&lt;/p&gt;</comment>
                            <comment id="1200907" author="xgen-internal-githook" created="Fri, 11 Mar 2016 18:36:41 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;name&apos;: u&apos;Maverick Chan&apos;, u&apos;email&apos;: u&apos;maverickc@simba.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1097&quot; title=&quot;bson_oid_to_string does not use fast-path code with Visual Studio&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1097&quot;&gt;&lt;del&gt;CDRIVER-1097&lt;/del&gt;&lt;/a&gt;: bson_oid_to_string does not use fast-path code with Visual Studio&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/libbson/commit/8f70c847daceefd948b3d107e3bb54238b1c58a4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/libbson/commit/8f70c847daceefd948b3d107e3bb54238b1c58a4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1183655" author="mavc" created="Wed, 24 Feb 2016 20:35:01 +0000"  >&lt;p&gt;We&apos;ve found that this is a bottleneck in our Windows application, and we can work around it with a patch (hopefully I can attach it). I&apos;m not well-versed in C, but I think the portable way to write the method would be with memcpy instead of type-punning.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="110491" name="0001.patch" size="514" author="mavc" created="Wed, 24 Feb 2016 20:36:42 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsi8bj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>