Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Compilers > Re: Data struct...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 8 of 9 Topic 2359 of 2472
Post > Topic >>

Re: Data structures for efficient overload resolution

by George Neuner <gneuner2@[EMAIL PROTECTED] > Mar 18, 2008 at 09:46 PM

On Tue, 11 Mar 2008 16:35:50 -0700 (PDT), Steve Horne
<stephenhorne100@[EMAIL PROTECTED]
> wrote:

>I'm interested in data structures for efficient overload resolution.
> :
>What I'm really interested in is the case with multiple independent
>parameters. I have very little idea how to even approach this problem.
>The only guess I can make is along the lines of treating each
>parameter as a separate dimension and using a spacial structure such
>as R-trees, quadtrees or whatever, but of course normal spacial
>indexes require that the keys are fully ordered along each dimension.

Have you looked at how CLOS (Common Lisp Object System) handles
multimethods?  CLOS builds a discrimination tree which orders the type
tests so as to eliminate as many potentials as possible at each
decision point.  Lisp happens to build the tree dynamically at runtime
but it could just as well be done statically at compile time.

There are a number of open source Lisps (CMUCL, SBCL, CLisp, etc.)
available for code study.

George
--
 




 9 Posts in Topic:
Data structures for efficient overload resolution
Steve Horne <stephenho  2008-03-11 16:35:50 
Re: Data structures for efficient overload resolution
Barry Kelly <barry.j.k  2008-03-14 14:42:33 
Re: Data structures for efficient overload resolution
Steve Horne <stephenho  2008-03-15 13:36:19 
Re: Data structures for efficient overload resolution
Barry Kelly <barry.j.k  2008-03-17 14:44:26 
Re: Data structures for efficient overload resolution
Steve Horne <stephenho  2008-03-18 07:07:52 
Re: Data structures for efficient overload resolution
Chris Dodd <cdodd@[EMA  2008-03-17 19:07:49 
Re: Data structures for efficient overload resolution
Steve Horne <stephenho  2008-03-18 07:23:56 
Re: Data structures for efficient overload resolution
George Neuner <gneuner  2008-03-18 21:46:51 
Re: Data structures for efficient overload resolution
Steve Horne <stephenho  2008-03-22 18:53:56 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 14:35:33 CDT 2008.