[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Optimization for reading *.d files
From: |
Norbert Thiebaud |
Subject: |
Re: Optimization for reading *.d files |
Date: |
Sun, 19 Mar 2017 12:51:43 -0500 |
On Sun, Mar 19, 2017 at 11:54 AM, brenorg <address@hidden> wrote:
> Hi Norbert,
>
> You are absolutely right. There is much more redundancy than I expected. I
> joined all .d files in one single file and after running make on it and
> printing the database, it's actually 10x smaller. And I know there must be
> more duplication since my files names are not all relative to the same root
> yet.
>
> I'll continue this path and see if I can get acceptable performance
take a look at
https://cgit.freedesktop.org/libreoffice/core/tree/solenv/bin/concat-deps.c
it is specific to our project.. but still the general gist of it is there.
Norbert