Skip to content

runFunction() and performance improvements

Choose a tag to compare

@dmarcelino dmarcelino released this 11 Mar 17:50
· 131 commits to master since this release
  • Adds runFunction method to adapter;
  • native(), getDB(), getServer() and removeCircularReferences() are now synced. The async calls with callback will still be supported for backwards compatibility but are no longer the preferred way of using these methods;
  • Performance: define() will now create properties at once instead of one by one. Added a quicker unsafeDrop option;
  • Added examples and tests;
  • Exposes Oriento logger config to adapter;
  • Performance: replaced decodeURIComponent for string.replace as it's around 25% faster.