I e-mailed this earlier but from the wrong machine, so it bounced...

>There are fancy solutions which are O(N) but I certainly wouldn't want to
>code them and I doubt its worth the bother.  The solution I have is
>O(N log N), which should be quite acceptable.  Basically you join the first
>N/2 lines then the last N/2 lines then join the resulting two lines.
>This can be coded almost as easily as the current while loop.  I'll try
>to get my fix working.
>
>       lee

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui