IEmbeddedConfiguration configuration = Db4oEmbedded.NewConfiguration(); configuration.Common.ObjectClass(typeof (Person)).Indexed(false);
Dim configuration As IEmbeddedConfiguration = Db4oEmbedded.NewConfiguration() configuration.Common.ObjectClass(GetType(Person)).Indexed(False)
Allows to improve the performance to delete and create objects of a class.
db4o maintains an index for each class to be able to deliver all instances of a class in a query. In some cases class index is not necessary:
Indexed(false)
setting will save
resources on maintaining the class index on create and delete of the class
objects.
Object creation performance can be improved using configuration.callConstructors(true) setting.