rust-kgdb 0.6.39 → 0.6.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +7 -7
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -234,7 +234,7 @@ OUR APPROACH: User → Proxied Objects → WASM Sandbox → RPC → Real S
234
234
  │ └── Full audit log: every action traced
235
235
 
236
236
  ├── rust-kgdb via NAPI-RS (Native RPC)
237
- │ └── 2.78µs lookups (not HTTP round-trips)
237
+ │ └── 449ns lookups (not HTTP round-trips)
238
238
  │ └── Zero-copy data transfer
239
239
 
240
240
  └── ProofDAG (Proof Theory)
@@ -251,7 +251,7 @@ OUR APPROACH: User → Proxied Objects → WASM Sandbox → RPC → Real S
251
251
 
252
252
  **Why Proxied Objects + WASM Sandbox**:
253
253
  - **Proxied Objects**: SchemaContext, TOOL_REGISTRY are live objects with methods, not serialized JSON
254
- - **RPC to Real Systems**: Queries execute on rust-kgdb (2.78µs native performance)
254
+ - **RPC to Real Systems**: Queries execute on rust-kgdb (449ns native performance)
255
255
  - **WASM Sandbox**: Capability-based security, fuel metering, full audit trail
256
256
 
257
257
  ---
@@ -587,7 +587,7 @@ const datalog = await planner.generateDatalogFromText(
587
587
  ### Performance
588
588
  | Metric | Value | Comparison |
589
589
  |--------|-------|------------|
590
- | **Lookup Speed** | 2.78 µs | 35x faster than RDFox |
590
+ | **Lookup Speed** | 449 ns | 5-10x faster than RDFox (verified Dec 2025) |
591
591
  | **Bulk Insert** | 146K triples/sec | Production-grade |
592
592
  | **Memory** | 24 bytes/triple | Best-in-class efficiency |
593
593
 
@@ -1012,7 +1012,7 @@ console.log('Supersteps:', result.supersteps) // 5
1012
1012
 
1013
1013
  | Metric | Value | Rate |
1014
1014
  |--------|-------|------|
1015
- | **Triple Lookup** | 2.78 µs | 359K lookups/sec |
1015
+ | **Triple Lookup** | 449 ns | 2.2M lookups/sec |
1016
1016
  | **Bulk Insert (100K)** | 682 ms | 146K triples/sec |
1017
1017
  | **Memory per Triple** | 24 bytes | Best-in-class |
1018
1018
 
@@ -1020,7 +1020,7 @@ console.log('Supersteps:', result.supersteps) // 5
1020
1020
 
1021
1021
  | System | Lookup Speed | Memory/Triple | AI Framework |
1022
1022
  |--------|-------------|---------------|--------------|
1023
- | **rust-kgdb** | **2.78 µs** | **24 bytes** | **Yes** |
1023
+ | **rust-kgdb** | **449 ns** | **24 bytes** | **Yes** |
1024
1024
  | RDFox | ~5 µs | 36-89 bytes | No |
1025
1025
  | Virtuoso | ~5 µs | 35-75 bytes | No |
1026
1026
  | Blazegraph | ~100 µs | 100+ bytes | No |
@@ -1432,7 +1432,7 @@ Result: ❌ PARSER ERROR - Invalid SPARQL syntax
1432
1432
 
1433
1433
  | System | Lookup Speed | Memory/Triple | WCOJ | Mobile | AI Framework |
1434
1434
  |--------|-------------|---------------|------|--------|--------------|
1435
- | **rust-kgdb** | **2.78 µs** | **24 bytes** | ✅ Yes | ✅ Yes | ✅ HyperMind |
1435
+ | **rust-kgdb** | **449 ns** | **24 bytes** | ✅ Yes | ✅ Yes | ✅ HyperMind |
1436
1436
  | Tentris | ~5 µs | ~30 bytes | ✅ Yes | ❌ No | ❌ No |
1437
1437
  | RDFox | ~5 µs | 36-89 bytes | ❌ No | ❌ No | ❌ No |
1438
1438
  | AllegroGraph | ~10 µs | 50+ bytes | ❌ No | ❌ No | ❌ No |
@@ -1466,7 +1466,7 @@ Result: ❌ PARSER ERROR - Invalid SPARQL syntax
1466
1466
  │ Neo4j: Popular, but no SPARQL/RDF standards │
1467
1467
  │ Amazon Neptune: Managed, but cloud-only vendor lock-in │
1468
1468
  │ │
1469
- │ rust-kgdb: 2.78 µs lookups, WCOJ joins, mobile-native
1469
+ │ rust-kgdb: 449 ns lookups, WCOJ joins, mobile-native
1470
1470
  │ Standalone → Clustered on same codebase │
1471
1471
  │ Deterministic planner, audit-ready │
1472
1472
  │ │
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "rust-kgdb",
3
- "version": "0.6.39",
4
- "description": "Neuro-Symbolic AI Framework: 85.7% accuracy on LUBM benchmark (+14.3pp over schema injection alone). Schema-aware predicate resolution using grammar-based parsing. Features: GraphDB (2.78µs lookups), HyperMindAgent with audit trail, Datalog reasoning, GraphFrames analytics. W3C SPARQL 1.1 compliant.",
3
+ "version": "0.6.40",
4
+ "description": "Neuro-Symbolic AI Framework: 85.7% accuracy on LUBM benchmark (+14.3pp over schema injection alone). Schema-aware predicate resolution using grammar-based parsing. Features: GraphDB (449ns lookups, 2.2M ops/sec, 156K inserts/sec), HyperMindAgent with audit trail, Datalog reasoning, GraphFrames analytics. W3C SPARQL 1.1 compliant. Benchmarked on Intel i9-9980HK with BSBM/LDBC methodology.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
7
7
  "napi": {