Talk:Word wrap: Difference between revisions
Content added Content deleted
(→REXX timings: made a comment about strike-outs. -- ~~~~) |
m (→REXX timings: made use of bold for REXX statements (when used a part of a comment), -- ~~~~) |
||
Line 276: | Line 276: | ||
:::::* 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) |
:::::* REXX version 2 1.01 seconds (optimized by making the '''ow''' subroutine in-line) |
||
:::::* REXX version 2 0.96 seconds (optimized the inner DO loop, eliminated an ''if'' statement) |
:::::* REXX version 2 0.96 seconds (optimized the inner DO loop, eliminated an '''if''' statement) |
||
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) |