<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32, branch awk_faster</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=awk_faster</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=awk_faster'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2020-08-01T10:31:22+00:00</updated>
<entry>
<title>awk: speed improvements</title>
<updated>2020-08-01T10:31:22+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-08-01T10:31:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=32862e44e0dd011f505e35ca30aad015e842cbdd'/>
<id>urn:sha1:32862e44e0dd011f505e35ca30aad015e842cbdd</id>
<content type='text'>
Improve performance in certain cases at the cost of an additional
144 bytes in the binary.

- Reinstate (and fix) the original code to speed up assignment of a
  temporary string to a variable.

- Replace use of xasprintf() for string concatentation with explicit
  string manipulation.  This could be faster still if Windows had an
  optimised stpcpy().

The enhancement is not enabled by default.

This test case:

   BEGIN{while(++i&lt;30000) s=s i}

is 18 times faster.  The less extreme:

   BEGIN{while(++i&lt;1000000) s="abc " i}

is 30% faster.

See GitHub issue #193.
</content>
</entry>
<entry>
<title>win32: code shrink kill(2)</title>
<updated>2020-07-25T11:48:13+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-07-25T11:48:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=cfa888eb571d92d4de02b406f0dad15e4fa26d19'/>
<id>urn:sha1:cfa888eb571d92d4de02b406f0dad15e4fa26d19</id>
<content type='text'>
- Drop exit_code argument from kill_SIGTERM_by_handle()
- Pass signal number rather than exit code to other functions
- Merge kill_SIGKILL() and kill_SIGTEST()

Saves 112 bytes.
</content>
</entry>
<entry>
<title>win32: update link to Microsoft document on command-line arguments</title>
<updated>2020-07-21T07:15:51+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-07-21T07:15:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=2974f8f44cdb029f040cc2a975592daf965817af'/>
<id>urn:sha1:2974f8f44cdb029f040cc2a975592daf965817af</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ts: correct output in 64-bit build</title>
<updated>2020-07-19T09:39:43+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-07-19T09:39:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=0bc672a9be9caf0482bf1f2b1e528b6b20b8eaaf'/>
<id>urn:sha1:0bc672a9be9caf0482bf1f2b1e528b6b20b8eaaf</id>
<content type='text'>
ts failed to output the correct time when built for 64-bit Windows.

In 64-bit builds time_t is a 64-bit quantity whereas the tv_sec
member of struct timeval is 32-bit.

   https://sourceforge.net/p/mingw-w64/bugs/783/

Use a temporary time_t value in 64-bit builds.
</content>
</entry>
<entry>
<title>win32: alter build flags</title>
<updated>2020-07-09T15:03:57+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-07-09T15:03:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=01a256149453c0dc108a7063ac48f8498c4663da'/>
<id>urn:sha1:01a256149453c0dc108a7063ac48f8498c4663da</id>
<content type='text'>
Add -fno-builtin-strndup to the build flags, otherwise builds with
link-time optimisation can't find strndup.
</content>
</entry>
<entry>
<title>win32: import strndup from gnulib</title>
<updated>2020-07-09T13:01:01+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-07-09T13:01:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=251c93fdeca77a7bed0075bcd74d55ad741f7bbb'/>
<id>urn:sha1:251c93fdeca77a7bed0075bcd74d55ad741f7bbb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2020-07-09T12:10:58+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-07-09T12:10:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=9c0b2f7020d7c30b21a930ef54be632e092e533b'/>
<id>urn:sha1:9c0b2f7020d7c30b21a930ef54be632e092e533b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ash: tidy code, no functional change</title>
<updated>2020-07-09T08:29:59+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-07-09T08:29:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=a8c6e20e332a9e11a9d28cd6770eadb9c9d73cb7'/>
<id>urn:sha1:a8c6e20e332a9e11a9d28cd6770eadb9c9d73cb7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chattr, lsattr: enable in the default configuration</title>
<updated>2020-07-09T08:07:55+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-07-09T07:58:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=0e3456e0c4a8623fe2d8bc28c51f16c8274b8098'/>
<id>urn:sha1:0e3456e0c4a8623fe2d8bc28c51f16c8274b8098</id>
<content type='text'>
The chattr and lsattr utilities allow file attributes to be changed
and displayed.  Modify them to support Windows file attributes using
the same names as Cygwin.

Only allow a limited subset of attributes to be changed:  just most of
those supported by SetFileAttributes().  Since it isn't possible to set
all attributes the '=' operator isn't allowed.
</content>
</entry>
<entry>
<title>ls: treat hidden files as if their names begin with a dot</title>
<updated>2020-07-09T07:52:24+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-07-09T07:52:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=86eb680bbfd096ab1a2664e36f80f4bea55e18cf'/>
<id>urn:sha1:86eb680bbfd096ab1a2664e36f80f4bea55e18cf</id>
<content type='text'>
On Unix 'ls' treats filenames starting with a dot as hidden and
only displays them if the '-a' or '-A' option is given.

Extend similar treatment to files with the Windows hidden flag.
</content>
</entry>
</feed>
