<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/m4/strtoull.m4, branch scratch/static_assert</title>
<subtitle>Emacs is the extensible, customizable, self-documenting real-time display editor. 
</subtitle>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/'/>
<entry>
<title>Improve performance by avoiding strtoumax</title>
<updated>2017-06-01T23:06:38+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2017-06-01T23:03:12+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=178d0cb5f530e6d7eb36eb9987ff405c854ccdb3'/>
<id>178d0cb5f530e6d7eb36eb9987ff405c854ccdb3</id>
<content type='text'>
This made (string-to-number "10") 20% faster on my old desktop,
an AMD Phenom II X4 910e running Fedora 25 x86-64.
* admin/merge-gnulib (GNULIB_MODULES): Remove strtoumax.
* lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
* lib/strtoul.c, lib/strtoull.c, lib/strtoumax.c, m4/strtoull.m4:
* m4/strtoumax.m4: Remove.
* src/editfns.c (str2num): New function.
(styled_format): Use it instead of strtoumax.  Use ptrdiff_t
instead of uintmax_t.  Check for integer overflow.
* src/lread.c (LEAD_INT, DOT_CHAR, TRAIL_INT, E_EXP):
Move to private scope and make them enums.
(string_to_number): Compute integer value directly during
first pass instead of revisiting it with strtoumax later.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This made (string-to-number "10") 20% faster on my old desktop,
an AMD Phenom II X4 910e running Fedora 25 x86-64.
* admin/merge-gnulib (GNULIB_MODULES): Remove strtoumax.
* lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
* lib/strtoul.c, lib/strtoull.c, lib/strtoumax.c, m4/strtoull.m4:
* m4/strtoumax.m4: Remove.
* src/editfns.c (str2num): New function.
(styled_format): Use it instead of strtoumax.  Use ptrdiff_t
instead of uintmax_t.  Check for integer overflow.
* src/lread.c (LEAD_INT, DOT_CHAR, TRAIL_INT, E_EXP):
Move to private scope and make them enums.
(string_to_number): Compute integer value directly during
first pass instead of revisiting it with strtoumax later.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge from gnulib</title>
<updated>2017-01-01T09:32:56+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2017-01-01T09:32:27+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=5a59e28dec039453aaad27fd0919bb93ed517079'/>
<id>5a59e28dec039453aaad27fd0919bb93ed517079</id>
<content type='text'>
This incorporates:
2016-12-19 stdint: Fix WINT_MAX to match wint_t on mingw
2016-12-18 getopt: Fix link error for users of getopt() in &lt;unistd.h&gt;
2016-12-17 getlogin: Port to newer mingw
2016-12-17 stdint: Fix WINT_MAX to match wint_t on MSVC
2016-12-17 Avoid redefinition errors on MSVC
* lib/getopt.in.h, lib/stdint.in.h, lib/stdio.in.h, lib/unistd.in.h:
* m4/stdint.m4, m4/unistd_h.m4:
Copy from gnulib.
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
Plus, this commit updates the indenting on copyright notices to
match that of gnulib.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This incorporates:
2016-12-19 stdint: Fix WINT_MAX to match wint_t on mingw
2016-12-18 getopt: Fix link error for users of getopt() in &lt;unistd.h&gt;
2016-12-17 getlogin: Port to newer mingw
2016-12-17 stdint: Fix WINT_MAX to match wint_t on MSVC
2016-12-17 Avoid redefinition errors on MSVC
* lib/getopt.in.h, lib/stdint.in.h, lib/stdio.in.h, lib/unistd.in.h:
* m4/stdint.m4, m4/unistd_h.m4:
Copy from gnulib.
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
Plus, this commit updates the indenting on copyright notices to
match that of gnulib.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright year to 2017</title>
<updated>2017-01-01T03:42:26+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2017-01-01T03:14:01+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=5badc81c1cdfbb261ad3e6d1b753defb15712f26'/>
<id>5badc81c1cdfbb261ad3e6d1b753defb15712f26</id>
<content type='text'>
Run admin/update-copyright.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Run admin/update-copyright.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge from gnulib</title>
<updated>2016-01-01T09:13:18+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2016-01-01T09:12:52+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=982530518fd6806a896a75f73e29e2f3b59e5791'/>
<id>982530518fd6806a896a75f73e29e2f3b59e5791</id>
<content type='text'>
This mostly just updates copyright dates of gnulib files.
It also updates to the latest version of texinfo.tex.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This mostly just updates copyright dates of gnulib files.
It also updates to the latest version of texinfo.tex.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge from gnulib, incorporating:</title>
<updated>2015-01-01T19:06:53+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2015-01-01T19:05:24+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=035f5aaa91ebd40598e0d89881bbc3cf532440a0'/>
<id>035f5aaa91ebd40598e0d89881bbc3cf532440a0</id>
<content type='text'>
2015-01-01 version-etc: new year
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2015-01-01 version-etc: new year
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright year to 2014 by running admin/update-copyright.</title>
<updated>2014-01-01T07:43:34+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2014-01-01T07:43:34+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=ba3189039adc8ec5eba5ed3e21d42019a4616b7c'/>
<id>ba3189039adc8ec5eba5ed3e21d42019a4616b7c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright notices for 2013.</title>
<updated>2013-01-01T09:11:05+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2013-01-01T09:11:05+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=ab422c4d6899b1442cb6954c1829c1fb656b006c'/>
<id>ab422c4d6899b1442cb6954c1829c1fb656b006c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge from gnulib.</title>
<updated>2012-05-26T23:14:36+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2012-05-26T23:14:36+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=caf8a9b2b301aba06735d403317b75b41df59bfe'/>
<id>caf8a9b2b301aba06735d403317b75b41df59bfe</id>
<content type='text'>
Fixes: debbugs:11527
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes: debbugs:11527
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge from gnulib: lib/gnulib.mk, m4/*.m4.</title>
<updated>2011-06-15T22:27:54+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2011-06-15T22:27:54+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=8aeb5be96aa28c4770299a54758a8fb339993a97'/>
<id>8aeb5be96aa28c4770299a54758a8fb339993a97</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>* Makefile.in (GNULIB_MODULES): Add strtoumax.</title>
<updated>2011-04-21T19:12:13+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2011-04-21T19:12:13+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=a8a2bb29e2ea28dce51bb3a8680bfe2bd6945365'/>
<id>a8a2bb29e2ea28dce51bb3a8680bfe2bd6945365</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
