[Magma] performance (was: test result)
Bob Arning
arning at charm.net
Wed Aug 7 01:54:42 UTC 2002
On Tue, 6 Aug 2002 09:45:56 -0700 (PDT) Chris Muller <afunkyobject at yahoo.com> wrote:
>So I've decided to have this be my "fix" for now.
>
>When I said I don't expect any performance issues in Magma, what I meant was,
>when writing the code, I was constantly paying attention to make sure only did
>operations I knew to be efficient in Smalltalk. I didn't expect removing
>LargeInteger keys to be so expensive or I wouldn't have used it.
>
>Thankfully, I believe my solution is simple. I'm going to change my oid map so
>that new and user objects are below 32-bits. It'll limit a Magma repository to
>32 million objects (excluding integers, floats and characters) but hey, I don't
>think Squeak can currently write past just a few gigs anyway.
Alternatively, you could use a PluggableDictionary instead, and choose a more suitable hash function.
Cheers,
Bob
More information about the Squeak-dev
mailing list
|