Improving odict performance

Current odict performance linearly degrades with each new item in dict and this significantly slows down some scripts (spends 90% of time in __set__item script instead of actual code).