Repository navigation
Overview
omp-index v2.0.0 is the first stable release of omp-index, the successor to IndexWeaver 1.x. It manages in-memory associations for open.mp through 24 Pawn natives and six helper stocks. The open.mp component reports itself as Index.
Changes
- Direct registries map signed IDs to nonnegative indices. Bidirectional registries add reverse lookup and enforce one-to-one index ownership.
- Group registries provide one-to-many associations and secondary indexes by equality. Each member has one signed key per registry. Membership changes are atomic, and group reads return bounded pages.
- Conditional writes, atomic pair batches and same-kind registry swaps let scripts stage and publish index updates. Batch reads report an individual status for each row.
- The
scalar75engine uses flat tables with a 75% load threshold. Registries share a bounded slot pool and carry 64-bit generations in their handles. Ownership checks isolate each AMX and reject stale handles. - The component-wide allocation budget defaults to 128 MiB, including transient and overlapping component allocations. Registry quotas also apply. Unloading a script releases its registries automatically. A gamemode rebuilds its own registries after GMX, while filterscripts that stay loaded retain theirs.
Breaking changes and migration
Replace #include <indexweaver> and the global SetMapIndex family with #include <omp_index>, explicit registry creation and idx_* calls. Check IDX_STATUS before reading outputs and handle lookup misses explicitly. Recompile your scripts and populate the new registries from authoritative application data. The old and new components share an open.mp component UID. Remove the old binary before installing Index. Migration guide · Pawn API reference
Compatibility and installation
The qualified targets are Windows x86 and Linux x86 with official open.mp v1.6.7.3218. Linux requires compatible 32-bit system libraries.
- Download the matching ZIP and check its SHA-256.
- Stop the server and place
components/Index.dllorcomponents/Index.soin the server'scomponents/directory. Copyinclude/omp_index.incfrom the same ZIP to your Pawn compiler's include path. - Recompile your scripts, start the server and check for
Index 2.0.0: loaded. Useidx_get_versionto confirm the loaded API version.
Production validation
| Target | Verified workload | Verified operations | Independent replay |
|---|---|---|---|
| Windows x86 | 86,400.058 s | 200,452,077 | PASS |
| Linux x86 | 86,400.040 s | 200,462,445 | PASS |
The two runs verified 400,914,522 operations in total. All 26 applicable gates passed. The remaining gate covers environments outside the qualification scope. Qualification record
Known limitations
Calls run synchronously on the server thread. Large reserves, shrinks and batches can consume time and temporary capacity. Group page order is unspecified and can change with mutations. Controlled Linux x86 benchmarks observed slower lookup misses and deletes than in 1.1 for some workloads. The qualification covers the two x86 packages and the runtime above. Storage measurements
Release assets and source
| Asset | SHA-256 |
|---|---|
omp-index-2.0.0-windows-x86.zip |
8930d063ce5db419f3ba551355caebf552bd66746d8cd57acaf8f0bd54474d03 |
omp-index-2.0.0-linux-x86.zip |
a54fba9fb5d930ffeb3db275f0df7b207cbb82cb1dd9aebf3e06b47df7f56707 |
The matching .sha256 files are attached. Both ZIPs preserve the qualified component, Pawn include, manifests, documentation and licenses. The build manifests identify source commit 991a25e04301bccdfe38fa2c3f91ae7810f483a6 and its qualified tree is 21cff6249c749bfe4884f6c5bcda57b002d12948. The v2.0.0 tag includes later documentation updates. The bundled README describes the candidate as under development because it records the build checkout. Use the tagged README for current installation and migration instructions.