Re: Performance assistance / advice

"Yuri Davidovsky (as work at disclosure dot ie)" <[email protected]>
Newsgroups gmane.lisp.lispworks.general
Message-ID <[email protected]>

> On 12 Mar 2025, at 12:42, David McClain <[email protected]> wrote:
> 
> Rather than just tackling the obvious “every particle affects every other particle”, I’d want to examine the underlying physics to see if the force law diminishes rapidly enough to where I could get away with restricting examination of particle interactions to some degree of nearest neighbors.

I think in physics engines they slice the space into cubes and only calculate the neighbours’ influence within them and the adjacent cubes.

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
[email protected]
http://www.lispworks.com/support/lisp-hug.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.