Talk:Word wrap: Difference between revisions
Content added Content deleted
(→REXX Timings: made the OW subroutine non-destructive, running low on coal. -- ~~~~) |
(→REXX Timings: made OW subroutine in-line. -- ~~~~) |
||
Line 275: | Line 275: | ||
:::::* REXX version 2 1.06 seconds (optimized with '''parse''' statement) |
:::::* REXX version 2 1.06 seconds (optimized with '''parse''' statement) |
||
:::::* REXX version 2 1.05 seconds (optimized by making the '''ow''' subroutine non-destructive) |
:::::* REXX version 2 1.05 seconds (optimized by making the '''ow''' subroutine non-destructive) |
||
:::::* REXX version 2 1.01 seconds (optimized by making the '''ow''' subroutine in-line) |
|||
The '''lastpos''' BIF was used to find the last blank (within a field of '''W''' characters instead of searching for the last blank character by character). |
The '''lastpos''' BIF was used to find the last blank (within a field of '''W''' characters instead of searching for the last blank character by character). |
||
<br>Further optimization was done using '''parse''' instead of '''substr''' and other such thingys. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 23:39, 21 August 2013 (UTC) |
<br>Further optimization was done using '''parse''' instead of '''substr''' and other such thingys. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 23:39, 21 August 2013 (UTC) |