Chapter 8. Under the hood: how Jess works
In this chapter you’ll...
- Learn how Jess compiles rules
- Be introduced to the Rete algorithm
- Use the view and matches functions
- Learn how to make your rules more efficient
You can drive a car without understanding anything about what’s under the hood. But if you’re driving through a desert, miles from a phone, and your engine starts to sputter and cough, a little knowledge and a full toolbox could go a long way.
So it is with much of the software you use as a developer. As long as everything is working well, you can get by without much knowledge of its internal workings. When something starts to go wrong, however, you may need extra knowledge and a few tools to fix it. This chapter gives you both, ...
Get Jess in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.