gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/ASna...


From: Benjamin Wolsey
Subject: Re: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/ASna...
Date: Fri, 18 Apr 2008 17:24:19 +0200

Am Donnerstag, den 17.04.2008, 21:55 -0300 schrieb Rob Savoye:
> Benjamin Wolsey wrote:
> >> You should take a look at server/asobj/ClassHierarchy.{cpp,h}.
> >> There is the code for on-demand loading of classes (by chad).
> >> The idea is gnash would load classes only when needed.
> >>     
>   Since I suggested this to Chad... The idea was to use the same basic 
> interface we use for extensions to load all the ActionScript class 
> definitions only when loaded. On embedded systems, this will be a  big 
> performance boost, not to mention great reduce memory usage and improve 
> performance. Chad was actually working on this, he never finished it.
> 

I think that's a fine idea. The only difficulty was ASnative functions,
which must always be available, independently of whether a class has
been loaded or not. I've started introducing separate methods to
register native functions with the VM on startup so that classes can
still be loaded on demand.

I don't know what Chad was still planning to do; on-demand-loading
basically works.

bwy

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


reply via email to

[Prev in Thread] Current Thread [Next in Thread]