|
|
|
|
|
by saosebastiao
4133 days ago
|
|
I see some similarities with a stateful recursive Rete implementation. I still wouldn't go so far as to say that it is basically a rules engine. The Rete algorithm (which is the underlying algorithm of most rule engines) trades off memory use for an O(1) execution time (where n==1 and n is the number of rules in the system). You really only gain any benefit once the number of rules grows significantly, and by then memory usage is significant enough that I wouldn't want it running in my browser. If I had a the need for a rule engine in the browser, I would invest most my effort on offloading rule processing to the server instead. |
|