[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[aspectj-dev] What does ajc do to speed up matching?
|
- From: "Eric Bodden" <eric.bodden@xxxxxxxxxxxxxx>
- Date: Sat, 17 Mar 2007 21:01:59 -0400
- Delivered-to: aspectj-dev@eclipse.org
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=anLggGGqSt/ZgTfb5MXBrjlbF8awiL4qCP5yEof/DnMIeA+70qBuGieFVehbqKZPTrU1C1xRqULbhBGxFgNzTy1u7k+wAHugGLoQcYBPPh8miD8B80XyAeKNxOw43DrTacHGsxUk304FRbqh7fcI+bG136WwTe6hiPDuA6sMoXA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=CHoKOo6sbDbIa8/WEzDh5pvN53CoBE6G8RleAup6C8mCVJaOlReow46xG5oSYtcKJKYICRYVY3EMKcbIbEO+r3Y41WMI+4Cn9eaUuoEnPKstc8zr390fi6tj1BhN2sUM9TZCtaq2Y4pJ2vwajJIq3bZqjSNBtk1TFyZah2/WdZU=
Dear ajc developers.
I am currently weaving quite a large application with our abc compiler
and especially the matching process takes quite some time. This is due
to the very naive matching strategy we have, which is basically "for
all advice for all statements generate the residue for this statement
and advice". If you have millions or more of statemements, this can
take quite some time. abc was never optimized for matching time but as
the size of our benchmarks increases, I feel that it's maybe
worthwhile to spend a little time on that.
I am pretty sure that ajc does something (much?) more clever, so I was
wondering whether this is documented anywhere. Could anybody give me a
high-level overview of the tricks you apply?
Cheers,
Eric
--
Eric Bodden
Sable Research Group
McGill University, Montréal, Canada