knutwannheden/xtext — Issue #2: Compare performance of different OLD_RES_MAP strategies
Author: knutwannheden
Created: 2011-10-27 04:48:03+00:00
State: open

There are different ways to implement the old builder state. It can be done inside the DB, in memory, etc. The current solution is by maintaining an `OLD_RES_MAP` table in the database. When a resource is deleted or updated it is "stashed" with its negated ID and added to the `OLD_RES_MAP`.

Another option would be to move the resources (and objects and references) to separate tables. But that would make writing queries painful.