@ifc-lite/geometry 3.0.1 → 3.0.2

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 +3 -4
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -94,9 +94,8 @@ option:
94
94
 
95
95
  ```ts
96
96
  // Vite's `?url` suffix yields a fully-resolved URL string at build time.
97
- // `@ifc-lite/wasm` and `@ifc-lite/wasm-threaded` both expose the binary
98
- // at the `./ifc-lite_bg.wasm` subpath so this resolves cleanly through
99
- // the package's `exports` map.
97
+ // `@ifc-lite/wasm` exposes the binary at the `./ifc-lite_bg.wasm` subpath
98
+ // so this resolves cleanly through the package's `exports` map.
100
99
  import wasmUrl from '@ifc-lite/wasm/ifc-lite_bg.wasm?url';
101
100
 
102
101
  for await (const event of processor.processAdaptive(buffer, {
@@ -114,7 +113,7 @@ works.
114
113
  ## Performance
115
114
 
116
115
  - **First triangles:** 300–500ms (streaming path)
117
- - **Throughput:** up to 5× faster than `web-ifc` on the same model
116
+ - **Throughput:** ~1.9x faster than `web-ifc` (928-column.ifc; see `tests/benchmark/benchmark-results.json`)
118
117
  - **Worker support:** files > 50 MB process off-main-thread automatically
119
118
  - **Native (Tauri):** `preferNative: true` enables the native Rust pipeline when running under a Tauri host — an extension point for third parties building their own desktop app (`@tauri-apps/api` is an optional dep; web builds never load it). See the [Building for Desktop](https://ltplus-ag.github.io/ifc-lite/guide/desktop/) guide.
120
119
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ifc-lite/geometry",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "Geometry processing bridge for IFC-Lite - 1.9x faster than web-ifc",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "dependencies": {
16
16
  "@ifc-lite/data": "^2.3.0",
17
- "@ifc-lite/wasm": "^3.0.1"
17
+ "@ifc-lite/wasm": "^3.0.2"
18
18
  },
19
19
  "optionalDependencies": {
20
20
  "@tauri-apps/api": "^2.11.1"