logoalt Hacker News

JoelMcCrackenlast Thursday at 2:33 PM1 replyview on HN

Yea I’ve wanted to try using logict to do some larger logic programming stuff. I’ve done it with list monad but found a lot of speed issues, never quite figured out why it was so slow.


Replies

erulast Friday at 6:30 AM

Well, lists are really slow.

To be more precise: lists in your code can be really fast, if the compiler can find a way to never actually have lists in the binary it produces. If it actually has to have lists at runtime, it's generally not all that fast.