Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Preparsed Index Setup Questions


hi Tim,

 I'll take a look at the bugs/rfes.

I've (re)discovered what is happening here - URIRelativeLocationConverter is sensitive to whether
the URI passed to the constructor is terminated with a forward slash. This is ultimately due to
the behaviour of java.net.URI:

                URI.create("file:/D:/Symbian/9.5/epoc32/include/").resolve("foo.h")
        evaluates to
                file:/D:/Symbian/9.5/epoc32/include/foo.h

                URI.create("file:/D:/Symbian/9.5/epoc32/include").resolve("foo.h")
        evaluates to
                file:/D:/Symbian/9.5/epoc32/foo.h

but this is not flagged up in the docs - I'll fix that right away.

This is the mistake I made in yesterday's benchmarking - correcting it with a slash-terminated URI I see:
        helloworld:        20KiB -> 20KiB, 3s -> 0.1s
        'agenda' user application: 8MiB -> 740KiB, 12s -> 2.44s
which is more like the gains I was seeing this time last year.

I did have to put in a workaround for an exception during indexing to get these results:
        https://bugs.eclipse.org/bugs/show_bug.cgi?id=219773

thanks,
Andrew

**********************************************************************
Symbian Software Ltd is a company registered in England and Wales with registered number 4190020 and registered office at 2-6 Boundary Row, Southwark, London, SE1 8HP, UK. This message is intended only for use by the named addressee and may contain privileged and/or confidential information. If you are not the named addressee you should not disseminate, copy or take any action in reliance on it. If you have received this message in error please notify postmaster@xxxxxxxxxxx and delete the message and any attachments accompanying it immediately. Neither Symbian nor any of its Affiliates accepts liability for any corruption, interception, amendment, tampering or viruses occurring to this message in transit or for any message sent by its employees which is not in compliance with Symbian corporate policy.
**********************************************************************


Back to the top