[e-lang] Version 1.0 of Joe-E library released

Tyler Close tyler.close at gmail.com
Mon Jun 4 18:21:36 EDT 2007


The special case in ConstArray.equals for comparing two instances that
both use the arr field seems to exist purely for performance reasons.
That being the case, you should really be keeping a local copy of the
arr instance variable on the stack. Doing so will save the repeated
dereference of the this pointer and possibly also optimize out the
bounds checking. Simply add the following before the for loop:

    final Object[] arr = this.arr;
    final Object[] otherArr = otherArray.arr;

Similarly for all the other places you iterate over the arr field.

Tyler

On 6/1/07, Adrian Mettler <amettler at cs.berkeley.edu> wrote:
> A 1.0 version of the Joe-E library is now available for download.
> http://www.joe-e.org
>
> New features over the previous version from December (thanks to Tyler
> for contributing most of these):
> - convenience class to automatically generate selfless
>    structure-like classes
> - improved immutable arrays
> - file system helper functions to replace java.io.File's
>    non-capability-safe operations
> - reflection and dynamic proxy support
> - string encoding/decoding wrapper functions
>
> Please feel free to check it out, and comment on design issues, bugs,
> suggestions, feature requests, etc.
>
> I expect to release a minor update of the verifier soon as well, which
> includes some bug fixes, etc. before going ahead and implementing a
> proper taming infrastructure.
>
> Thanks,
>    Adrian
> _______________________________________________
> e-lang mailing list
> e-lang at mail.eros-os.org
> http://www.eros-os.org/mailman/listinfo/e-lang
>


-- 
The web-calculus is the union of REST and capability-based security:
http://www.waterken.com/dev/Web/

Name your trusted sites to distinguish them from phishing sites.
https://addons.mozilla.org/firefox/957/


More information about the e-lang mailing list