|
Re: more on additional optimization: msg#00003audio.supercollider.devel
> within it. A primitive truly must be a primitive operation. > I don't think there is much to be gained here anyway. Eliminating the > extra Routines being created at each level was a huge savings. This is > peanuts. > You may not realize how your change actually helped. The major gain > from your fix was not really that it saved executing more byte codes, > it was eliminating time spent in the garbage collector due to > allocating the 512 slot stacks for each new Routine. By embedding > method calls rather than Routines, fewer Routines get allocated and so > less scanning needs to be done in the GC. > I see, that makes sense. Just to understand the primitive issue further. It would be possible to write such a method for a specific class (like Routine) but it would have to explicitly execute the 'next' code itself, right? RJK |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: unit block number: 00003, James McCartney |
|---|---|
| Next by Date: | Re: sc3: sync clocks?: 00003, James McCartney |
| Previous by Thread: | Re: more on additional optimizationi: 00003, James McCartney |
| Next by Thread: | Re: more on additional optimization: 00003, James McCartney |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |