View Issue Details

IDProjectCategoryView StatusLast Update
0001983OpenMPTlibopenmptpublic2026-08-04 18:47
ReporterSaga Musix Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Product VersionOpenMPT 1.32.11.00 / libopenmpt 0.8.8 (upcoming stable) 
Summary0001983: Accidental quadratic complexity in C API metadata retrieval
Description

openmpt_module_get_*_name functions return individual item names, but use the C++ APIs that return entire vectors of items under the hood to retrieve the item name. Listing for example all sample names thus introduces quadratic complexity.

The internal implementation (mod->impl) should probably offer both single-name and multi-name variants for the the C++ and C APIs to use, with the multi-name variant using the single-name variant under the hood to avoid inconsistencies in string conversion etc.

TagsNo tags attached.
Has the bug occurred in previous versions?
Tested code revision (in case you know it)

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2026-08-04 18:47 Saga Musix New Issue