Re: Re: ASM4 / Java 7

[email protected]
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <415267138.10943821315125040713.JavaMail.root@zimbra7-e1.priv.proxad.net>
> the code in ClassWriterComputeFramesTest is quite inefficient: on my
> PC this test runs in 16.5 s for 9348 classes. If I remove the
> overriden "getCommonSuperClass" method (i.e. using the default
> ClassWriter implementation), it runs in 13.4s. Attached is an
> experimental improved version (patch for SVN HEAD) of the code in
> ClassWriterComputeFramesTest, which might be integrated directly in
> ClassWriter. With this version, the test runs in 14.6s (2 seconds less
> than the ClassWriterComputeFramesTest code, but still 1 second more
> than the current ClassWriter code). I'm not sure what to do with this
> yet...

I finally decided to leave the code in ClassWriter unchanged. Instead, I replaced the code in ClassWriterComputeFrameTest with the improved version attached in my previous email. You can copy this code and use it directly in your own application if you need it.

Eric
message-footer.txt (text/plain, 238 B)
-- 
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.