grt-talk
[Top][All Lists]
Advanced

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

Re: [grt-talk] Accuracy bug


From: Simon Adameit
Subject: Re: [grt-talk] Accuracy bug
Date: Sat, 26 Apr 2003 14:47:59 +0200
User-agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030407

Nikodemus Siivola wrote:
On Sat, 26 Apr 2003, Simon Adameit wrote:


Ok, I just wasn't sure what reasons you had for not using methods, I
didn't know that it is too slow.


The thing is that methods have runtime dispatch. (Or so I believe.
CLOS is still a bit of a blind spot for me.) This is a very nice feature,
but it hurts the performance. Happily enough there are functions when speed
is more important than flexibility. I think we could benefit from using
CLOS (and methods) in the user level API's, though. Have to do some
thinking.

I think we have to seperate the user stuff from our object contstructors more, perhaps definig some macros the user can use.


Will you test classes vs. structs?


Yeah. When I find the time. If you have the time... please do!

I'll have much time next weekend but there I want to work on new primitives.





reply via email to

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