Re: Optimize script for generating LinuxManBook.pdf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 01, 2023 at 01:14:58AM +0100, Alejandro Colomar wrote:
> Hi Deri,
> 
> On Thu, Nov 30, 2023 at 11:38:18PM +0100, Alejandro Colomar wrote:
> > > It replaces the complete LinuxManBook directory and the executable is now 
> > > called BuildLinuxMan2.pl.
> > 
> > I'd prefer if the huge groff code would go in a separate file.  Would
> > that make sense?
> 
> I've applied a few tweaks to the script you sent before committing it.
> The performance is similar, and it's less of a change to the current
> code.
> 
> <https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/commit/?h=contrib&id=0e64299d4dd0df90ea52b3fe6777e5ebfb2484da>
> 
> I think we should be able to cut half a second or so if we add a
> BuildSec() function so that we don't block the first page until the
> entire sort is done.  And it would be also more readable.  Please check.

I amended a bit more, to keep the old LMBfront and an.tmac files with
minimal changes.

<https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/commit/?h=contrib&id=1adc2425f771bdd4089b06646d21c9eecf73c69c>

Cheers,
Alex

-- 
<https://www.alejandro-colomar.es/>

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux