This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

object-properties


Happy Presidents' Day everyone!  I hope we all take a moment to 
meditate on those fine presidents of America's past.

Hehe... what a silly holiday.  Well, anyway...

I'm thinking about changing the object system in Tcl->Scheme to 
something based on object-properties.  I believe Maciej(?) was 
saying that object-properties was going to become much slower.  
How much slower is that?  With the version of Guile that I am using 
it seems to work about as fast as normal list access (i.e., it's not a 
big win to make a special object type when I can put all the extra 
information in object-properties).

If object-properties stays reasonable fast or something like it can 
do the same thing, this would make Scheme/Tcl data integration 
fairly seemless (though almost too seemless -- in particular, in-
place mutation like string-set! is quite incompatible with Tcl's strict 
call-by-value)...


--
Ian Bicking <bickiia@earlham.edu>