3 ms·
Well, if you didn't say how you want it, you can't really complain how slow it is either. I was under the impression it's slow all along, but it might have othe
by posterboy 10y ago
Well, if you didn't say how you want it, you can't really complain how slow it is either. I was under the impression it's slow all along, but it might have other merrits, especially for a student rather than an enterprising dev.
- YeGoblynQueenne 10y agoProlog was slow in the '60s. Not anymore [1]. It is, after all, an in-memory, No-SQL database. Even "slow" ish Prologs are pretty fast these days [2]. If your program is running slowly you need to take care with the way you've written it, but that's true for any language. It's more the case with Prolog and it's harder to optimise because it's harder to get your head around it, but beyond that, it's not "slow" in any sense of the word, particularly when you take into account what it is that it does. [1] https://www.dcc.fc.up.pt/~vsc/Yap/ https://www.dcc.fc.up.pt/~vsc/Yap/ [2] http://www.swi-prolog.org/pldoc/man?section=jitindex http://www.swi-prolog.org/pldoc/man?section=jitindex