<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/editors, 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>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>randomconfig fixes</title>
<updated>2020-06-23T19:28:19+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-06-23T19:28:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=5fa5c4bde8b9ab75fa0ed37ee2fafca3fd46288a'/>
<id>urn:sha1:5fa5c4bde8b9ab75fa0ed37ee2fafca3fd46288a</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>awk: disallow "str"++, closes bug 12981</title>
<updated>2020-06-08T23:33:54+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-06-08T23:33:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=6f7a0096496a5a9e90638dc01e947015cc776110'/>
<id>urn:sha1:6f7a0096496a5a9e90638dc01e947015cc776110</id>
<content type='text'>
function                                             old     new   delta
parse_expr                                           887     896      +9

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2020-02-15T13:25:04+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-02-15T13:25:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=0abe89bc214c9d1f16f32c4339792066b875b7c6'/>
<id>urn:sha1:0abe89bc214c9d1f16f32c4339792066b875b7c6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>awk: fix more "length" cases, closes 12486</title>
<updated>2020-02-02T22:28:55+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2020-02-02T22:28:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=bd8b05ba1b0901bbd6a913dfd5186ac7c8beffed'/>
<id>urn:sha1:bd8b05ba1b0901bbd6a913dfd5186ac7c8beffed</id>
<content type='text'>
function                                             old     new   delta
next_token                                           808     831     +23

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>vi: fixes to string search in colon commands, closes 10321</title>
<updated>2020-01-29T13:01:50+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-01-23T15:31:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=16bcd504a32e6a7bf2015ffb241133f9ead6100b'/>
<id>urn:sha1:16bcd504a32e6a7bf2015ffb241133f9ead6100b</id>
<content type='text'>
Handling of string searches in colon commands (e.g ':/pat1/,/pat2/cmd')
differ from standard vi:

- As reported in bug 10321 such searches can't be repeated using the
  'n' command.  This is because the last search pattern isn't updated.

- The search also can't be repeated using the command '://' because
  an empty search pattern doesn't imply the use of the last search
  pattern.

- Such searches should start on the line after the current line,
  otherwise '://' never moves to the next occurrence of the pattern.
  This can also affect other cases where line ranges are specified
  using search patterns.

Fix these various issues.

function                                             old     new   delta
get_one_address                                      325     342     +17

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2020-01-08T12:30:49+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2020-01-08T12:30:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=a9271a8e97e6e7be5285330d5f19352decabf807'/>
<id>urn:sha1:a9271a8e97e6e7be5285330d5f19352decabf807</id>
<content type='text'>
</content>
</entry>
<entry>
<title>vi: placate "warning: shifting a negative signed value is undefined"</title>
<updated>2019-10-25T15:42:23+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2019-10-25T15:42:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=9a0c404d5f71f1592c6eaeb9119abc6e3756e525'/>
<id>urn:sha1:9a0c404d5f71f1592c6eaeb9119abc6e3756e525</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2019-08-16T08:45:21+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2019-08-16T08:42:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=517cf74f6265ec4308b790b637b3f9778cbdc6e0'/>
<id>urn:sha1:517cf74f6265ec4308b790b637b3f9778cbdc6e0</id>
<content type='text'>
</content>
</entry>
</feed>
