<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cython.git/Cython/Utility/Optimize.c, branch fixed_code_objects</title>
<subtitle>github.com: cython/cython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cython.git/'/>
<entry>
<title>replace generic "COMPILING_IN_*" C macros with feature specific guards that allow a more fine-grained adaptation to C-API implementations</title>
<updated>2016-07-30T21:38:43+00:00</updated>
<author>
<name>Stefan Behnel</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2016-07-30T21:26:17+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cython.git/commit/?id=71de578aecc9772625be8922919a567f8808d594'/>
<id>71de578aecc9772625be8922919a567f8808d594</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>__Pyx_PyInt_TrueDivideObjC: switch comparison order</title>
<updated>2016-02-29T16:54:33+00:00</updated>
<author>
<name>Nikolaus Rath</name>
<email>Nikolaus@rath.org</email>
</author>
<published>2016-02-29T16:38:04+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cython.git/commit/?id=9c100bce6e68a382d3a43e62d4ad06ecadd1d865'/>
<id>9c100bce6e68a382d3a43e62d4ad06ecadd1d865</id>
<content type='text'>
The current order results in compiler warnings on 32 bit machines, e.g.

src/llfuse.c: In function '__Pyx_PyInt_TrueDivideObjC':
src/llfuse.c:43980:17: warning: left shift count &gt;= width of type
                 if (8 * sizeof(long) &lt;= 53 || (__Pyx_sst_abs(size) &lt;= 52 / PyLong_SHIFT) || likely(labs(a) &lt;= (1L &lt;&lt; 53))) {

Switching the order so that the left shift is closer to the sizeof test
avoids the warning, presumably because it makes it easier for the
compiler to see that the left shift is only executed on 64 bit.

Thanks to Christian Neukirchen for doing most of the work!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current order results in compiler warnings on 32 bit machines, e.g.

src/llfuse.c: In function '__Pyx_PyInt_TrueDivideObjC':
src/llfuse.c:43980:17: warning: left shift count &gt;= width of type
                 if (8 * sizeof(long) &lt;= 53 || (__Pyx_sst_abs(size) &lt;= 52 / PyLong_SHIFT) || likely(labs(a) &lt;= (1L &lt;&lt; 53))) {

Switching the order so that the left shift is closer to the sizeof test
avoids the warning, presumably because it makes it easier for the
compiler to see that the left shift is only executed on 64 bit.

Thanks to Christian Neukirchen for doing most of the work!
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch '0.23.x'</title>
<updated>2015-09-12T19:15:08+00:00</updated>
<author>
<name>Stefan Behnel</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2015-09-12T19:15:08+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cython.git/commit/?id=ac9e9e77805aa80b88fb77f14ac2eeb77205a7a9'/>
<id>ac9e9e77805aa80b88fb77f14ac2eeb77205a7a9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>correct abs() call type in helper function</title>
<updated>2015-09-12T19:14:50+00:00</updated>
<author>
<name>Stefan Behnel</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2015-09-12T19:14:50+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cython.git/commit/?id=c7227ac781764ac643d3d0e64eed0cf1079e5cea'/>
<id>c7227ac781764ac643d3d0e64eed0cf1079e5cea</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move "longintrepr.h" inclusion before any user includes.</title>
<updated>2015-08-14T05:14:52+00:00</updated>
<author>
<name>Robert Bradshaw</name>
<email>robertwb@gmail.com</email>
</author>
<published>2015-08-14T05:14:52+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cython.git/commit/?id=25ec392a7ff723a5f87d76e8d69b1bf354fa95cf'/>
<id>25ec392a7ff723a5f87d76e8d69b1bf354fa95cf</id>
<content type='text'>
This solves the issue reported by Volker Braun where conflicting
using aliases of uint64_t would result in compile time errors.

Unfortunately, this also means that it's always included if
CYTHON_USE_PYLONG_INTERNALS is set, but it's a short header.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This solves the issue reported by Volker Braun where conflicting
using aliases of uint64_t would result in compile time errors.

Unfortunately, this also means that it's always included if
CYTHON_USE_PYLONG_INTERNALS is set, but it's a short header.
</pre>
</div>
</content>
</entry>
<entry>
<title>cache underlying PyCFunction of calls to unbound methods of builtins in utility code (should eventually become a general feature)</title>
<updated>2015-05-21T14:24:31+00:00</updated>
<author>
<name>Stefan Behnel</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2015-05-21T14:24:31+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cython.git/commit/?id=3c9e7f25e2a208cc8d29bd30a0ea833876e7e018'/>
<id>3c9e7f25e2a208cc8d29bd30a0ea833876e7e018</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch '0.22.x'</title>
<updated>2015-04-10T20:08:33+00:00</updated>
<author>
<name>Stefan Behnel</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2015-04-10T20:08:33+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cython.git/commit/?id=60f1e618d7c78eb748d3ec465bec6188d78f2619'/>
<id>60f1e618d7c78eb748d3ec465bec6188d78f2619</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>avoid C compiler warning in pypy</title>
<updated>2015-04-10T10:27:12+00:00</updated>
<author>
<name>Stefan Behnel</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2015-04-10T10:27:12+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cython.git/commit/?id=bf69c4107119ebddcefa267d4cea72863909e59f'/>
<id>bf69c4107119ebddcefa267d4cea72863909e59f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch '0.22.x'</title>
<updated>2015-04-10T08:32:25+00:00</updated>
<author>
<name>Stefan Behnel</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2015-04-10T08:32:25+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cython.git/commit/?id=71c245581876ad7184388fa56b5877286c13b7d5'/>
<id>71c245581876ad7184388fa56b5877286c13b7d5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>avoid C compiler warning in pypy</title>
<updated>2015-04-10T08:25:59+00:00</updated>
<author>
<name>Stefan Behnel</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2015-04-10T08:25:59+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/cython.git/commit/?id=decad24352f14d1472f0df45f05cbdad5f19a6b5'/>
<id>decad24352f14d1472f0df45f05cbdad5f19a6b5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
