About Magma performance

Igor Stasenko siguctua at gmail.com
Fri Nov 12 07:53:28 UTC 2010


2010/11/12 Göran Krampe <goran at krampe.se>:
> Hi all!
>
> On 11/12/2010 05:40 AM, Igor Stasenko wrote:
>>
>> On 12 November 2010 06:14, Mariano Martinez Peck<marianopeck at gmail.com>
>>  wrote:
>>>
>>> Did you manage to improve the #become:   slowness ?  if true, I am
>>> interesting in knowning how.
>>>
>> No, you can't make #become: faster, because its implemented on VM side.
>> However, you can avoid using it too often, and do it for large set of
>> objects, not individual ones,
>> but using a bulk-become primitive.
>
> .
> Or try to use RoarVM - since it uses an object table the become: should be
> instantaneous. Now, of course I have no idea if it is plausible to use
> RoarVM at this point, just an observation.
>

Yes, except that object table is slows down rest of stuff by itself :)

[OT]
I wonder, whether it is generally better to use object tables
comparing to direct pointers in general, for VM.
And do these advantages can overcome a speed loss, because of
additional level of indirection.
[/OT]

> regards, Göran
>



-- 
Best regards,
Igor Stasenko AKA sig.


More information about the Magma mailing list