java.util.Collection implementations. For a single
insertion operation, the timers supplied by the OS are far too
coarse, and since an insert
operation will change the cost of further operations, adding an
element a million times is not suitable for determining the cost of a
single insertion operation. So we decided to count bytecode execution
steps as an approximation for runtime cost.
![]() | ![]() |
| smallest element | random element |
Number of bytecode steps required
for searching an element in a java.util.TreeSet,
depending on the number of elements added before (round dots are
the result of a curve fitting) | |
not.defined.Anywhere parameter,
and will hence not interfere with existing constructors.
Other than this "workaround", the JVVM is basically a straight-forward
implementation of the BCEL bytecode visitor.
jvvm.tar.gz.
The source-code is released under a
BSD-style license.
The project is utterly undocumented and I do not want to make a quick
attempt at providing some incomplete documentation now. If someone is
interested in this kind of project, I will gladly provide
documentation and help.