tdb2: TDB_ATTRIBUTE_STATS access via tdb_get_attribute.
Now we have tdb_get_attribute, it makes sense to make that the method of accessing statistics. That way they are always available, and it's probably cheaper doing the direct increment than even the unlikely() branch.
Showing
Please register or sign in to comment