Re: [CVS ci] mark5 - PMC/Buffer unification #10

2003-01-09 Thread Leopold Toetsch
Dan Sugalski wrote: ... (And I don't want to go with an extra level of indirection for this, for speed reasons) I did answer, nor do I, but recent cache coherency discussion could imply, that eg. this wouldn't be to bad. I thought of: - a PMC is a handle (index) into - array of pointers (e.g

Re: [CVS ci] mark5 - PMC/Buffer unification #10

2002-12-31 Thread Dan Sugalski
At 6:17 PM +0100 12/30/02, Leopold Toetsch wrote: Dan Sugalski wrote: At 11:45 AM +0100 12/30/02, Leopold Toetsch wrote: A "simple" PMC would be a typical scalar (num or int) without properties. Attaching properties to such a PMC would need promoting it to a "complex" PMC. We can't promote

Re: [CVS ci] mark5 - PMC/Buffer unification #10

2002-12-30 Thread Leopold Toetsch
Dan Sugalski wrote: At 11:45 AM +0100 12/30/02, Leopold Toetsch wrote: A "simple" PMC would be a typical scalar (num or int) without properties. Attaching properties to such a PMC would need promoting it to a "complex" PMC. We can't promote to a larger type, as that would require moving th

Re: [CVS ci] mark5 - PMC/Buffer unification #10

2002-12-30 Thread Dan Sugalski
At 11:45 AM +0100 12/30/02, Leopold Toetsch wrote: This is the next step in using a common PObj for Buffers/PMCs. The major change is: free_unused_pobjects is now the common header freeing function working on all Buffer & PMC headers. Object specific destroying is done in free_unused_pobjects t