You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Alex Chaffee / Purple Technology <gu...@stinky.com> on 2003/05/25 16:08:49 UTC

Re: [lang] Optimizing Entities and LGPL question

I found an IntHashMap.  Using it gave me a 25% speed improvement on
lookup over java.util.HashMap, and a 35% improvement on escaping
performance overall (this difference was due probably to garbage
collection issues -- the primitive-using one creates no objects during
lookup).

The code that I found is from j3d, and it's under an LGPL license.  I
don't suppose that's compatible with the ASF one?  If we can't just
grab it, it's not too hard to rewrite it, but it seems a shame to
reinvent such a wheel.

http://www.gnu.org/copyleft/lgpl.html
http://code.j3d.org/

Even if we ask the original author to donate it, can he legally waive
the LGPL now that it's out there?

-- 
Alex Chaffee                               mailto:alex@jguru.com
Purple Technology - Code and Consulting    http://www.purpletech.com/
jGuru - Java News and FAQs                 http://www.jguru.com/alex/
Gamelan - the Original Java site           http://www.gamelan.com/
Stinky - Art and Angst                     http://www.stinky.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [lang] Optimizing Entities and LGPL question

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Alex Chaffee / Purple Technology wrote:
> I found an IntHashMap.
...
> The code that I found is from j3d, and it's under an LGPL license.  I
> don't suppose that's compatible with the ASF one?

Opinions vary. Unless it is tested in court, nobody really knows.
The board decided to play safe and declared incompatiblity.

> Even if we ask the original author to donate it, can he legally waive
> the LGPL now that it's out there?

The original author (better: the copyright holder) can do everything
he/she wants, including rereleasing it under another license or dual
licensing. It may pay off to ask.

J.Pietschmann




---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [lang] Optimizing Entities and LGPL question

Posted by Michael Becke <be...@u.washington.edu>.
I have found another implementation under the MIT license at:

http://www.sosnoski.com/opensrc/tclib/index.html

It does not have an int->Object map but does have a int->String map 
with could easily be converted.  It seems well documented and nicely 
implemented.  I have never used this package before but it looks good.

Mike

On Sunday, May 25, 2003, at 10:08 AM, Alex Chaffee / Purple Technology 
wrote:

> I found an IntHashMap.  Using it gave me a 25% speed improvement on
> lookup over java.util.HashMap, and a 35% improvement on escaping
> performance overall (this difference was due probably to garbage
> collection issues -- the primitive-using one creates no objects during
> lookup).
>
> The code that I found is from j3d, and it's under an LGPL license.  I
> don't suppose that's compatible with the ASF one?  If we can't just
> grab it, it's not too hard to rewrite it, but it seems a shame to
> reinvent such a wheel.
>
> http://www.gnu.org/copyleft/lgpl.html
> http://code.j3d.org/
>
> Even if we ask the original author to donate it, can he legally waive
> the LGPL now that it's out there?
>
> -- 
> Alex Chaffee                               mailto:alex@jguru.com
> Purple Technology - Code and Consulting    http://www.purpletech.com/
> jGuru - Java News and FAQs                 http://www.jguru.com/alex/
> Gamelan - the Original Java site           http://www.gamelan.com/
> Stinky - Art and Angst                     http://www.stinky.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org