DISQUS

DISQUS Hello!  The comments on this profile are unclaimed and thus are unverified.

Do they belong to you? Claim these comments.

Dave's picture

Unregistered

Feeds

aliases

  • Dave

Dave

1 year ago

in Turbocharge your string keyed hashmaps on /var/log/mind
Doesn't String.intern() effectively do what you want?


Of course, this still seems like a pointless optimization. In my test of doing a million puts/gets, the difference in your two approaches about 100ms, or .104 milliseconds per operation. Not sure that would make a difference in most application contexts....
Returning? Login