Oliver Hamlet 48ec04a95f Only cache some function results
Some functions evaluate more quickly without caching than with caching,
because they use data that is cached in a separate read-only cache
that's faster to check, and don't do anything complex with that data.
2018-10-06 13:38:55 +01:00
2018-10-06 13:38:55 +01:00
2018-10-05 20:30:50 +01:00
2018-10-05 20:30:50 +01:00
2018-10-05 20:21:14 +01:00
2018-10-06 10:42:18 +01:00

loot-condition-interpreter

An experimental library for parsing and evaluating LOOT's metadata condition strings. Written in Rust. Very incomplete.

Goals:

  • Explore parsing conditions into an intermediate representation, then evaluating from that representation. LOOT's current parser evaluates conditions while parsing them, tightly coupling the two operations.
  • Explore more granular result caching. LOOT's current caching maps each condition string to its result, which can't re-use results in compound conditions.
  • Explore round trip serialisation from the intermediate representation.
  • Evaluate the cost/benefit of integrating into LOOT, replacing the existing code.

The tests need the testing-plugins and the LOOT API v0.13.8 Windows archives to be extracted and present in the repo root.

S
Description
No description provided
Readme MIT
833 KiB
Languages
Rust 97.2%
C++ 2.5%
CMake 0.3%