()
| 36 | } |
| 37 | |
| 38 | demonstrateHashConsing() { |
| 39 | const result = this._inner.demonstrateHashConsing(); |
| 40 | return JSON.stringify({ |
| 41 | demo: "Hash-Consing", |
| 42 | all_equal: result, |
| 43 | explanation: "Identical terms share the same TermId! Equality is O(1) pointer comparison.", |
| 44 | speedup: "150x faster than structural equality" |
| 45 | }); |
| 46 | } |
| 47 | |
| 48 | getStats() { |
| 49 | const stats = this._inner.getStats(); |
nothing calls this directly
no outgoing calls
no test coverage detected