[LOGIC-30] Add persistent memory tables Created: 09/Mar/12 Updated: 05/Jan/14 Resolved: 05/Jan/14
|Reporter:||Brian Goslinga||Assignee:||David Nolen|
|Patch:||Code and Test|
Rels currently complect identity and value, and are not first class. This enhancement provides a single-arity relation as a first class persistent value. Equality (and hash code) is defined in terms of the ITableRel protocol, leaving the door open for alternative implementations.
The implementation provide in the attached patch is a hair faster than Rels in the single index case. The query strategy used in the multiple index case may or may not be faster than the one employed by Rels depending on the data. This could easily be made configurable, if desired.
|Comment by David Nolen [ 17/Mar/13 6:53 PM ]|
ThreatGRID has a really nice simple implementation going here that they are already using in production - http://github.com/threatgrid/pldb. We should probably just integrate it.
|Comment by Ivo Wever [ 05/Jan/14 9:37 AM ]|
Has been done in https://github.com/clojure/core.logic/commit/1375f34ef42ee6b288ccb110b5c8c4aeb87a39a9, which is included in latest release.
|Comment by David Nolen [ 05/Jan/14 9:39 AM ]|
Thanks for the bump.