On 07/09/2021 12:33, Holger Knublauch wrote:
Slightly related to this, I noticed that PrefixMappingAdapter.uriToPrefix is very inefficient, doing a reverse O(n) look-up.
It is not used for writing - the RIOT writers use a PrefixMap that is tuned for writing usage patterns. Reverse multi-lookup with delete revealing is both tricky and simply hides work elsewhere.
The adapter has a "works with anything implementation". Andy