[Opensim-dev] IRegisterInterface for extending scene entities
Justin Clark-Casey
jjustincc at googlemail.com
Fri Jan 4 00:39:56 UTC 2013
On 02/01/13 21:01, Oren Hurvitz wrote:
> I have created a Feature Proposal page in the wiki:
> http://opensimulator.org/wiki/Feature_Proposals/Dynamic_Attributes_in_Scene_Objects
>
> Comments are welcome!
Here are some points
1. Namespacing - I think that some kind of namespacing is necessary to stop people writing basic property names (e.g.
"key") to the root of the OSD map that could later clash with other uses. What do you think? Could this be simply done
by requiring callers to store data under a key of their own?
2. Efficiency - In the current implementation (one big data map), any change to anything in that map requires the whole
thing to be reserialized and rewritten to the database. If any large amount of data is stored then that might be a
problem. The other extreme would be to store information in the db as pure key/value pairs, but this would be horrible
to manipulate. A compromise might be to store key:value but with each namespace map being a separate key. Thoughts?
--
Justin Clark-Casey (justincc)
OSVW Consulting
http://justincc.org
http://twitter.com/justincc
More information about the Opensim-dev
mailing list