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

Re: Efficiency of generic programming

This page is part of the web mail archives of SRFI 76 from before July 7th, 2015. The new archives for SRFI 76 contain all messages, not just those from before July 7th, 2015.

Andre van Tonder <andre@xxxxxxxxxxxxxxxxx> writes:

> I have a concern with the efficiency of the current interface for reflection. 
> Some simple, and rather important or canonical, generic operations will be 
> rather less efficient than they could be.

I think it's commonly accepted among the authors that the reflection
interface isn't particularly complete.

Specifically, it is really meant for structurally reflective
operations, such as interpreters and introspection, rather than the
efficient implementation of anything.  

> - Polymorphic copying and update will be slow:

In particular, polymorphic copying and update really fall outside its
purview---they wouldn't work on opaque record types, anyway.  Maybe
you can elaborate why and where you want these?

Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla