diff options
author | Justin Clark-Casey (justincc) | 2011-07-08 22:53:19 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-07-08 22:53:19 +0100 |
commit | c3d82bdcb1ac2ee0e0bdad75fbf8779252ef31c4 (patch) | |
tree | 0e7050a1e23cb9f1bf3ffd23408fcea847ef91ee /OpenSim/Region | |
parent | stop the local inventory services connector from logging an error when an ite... (diff) | |
download | opensim-SC-c3d82bdcb1ac2ee0e0bdad75fbf8779252ef31c4.zip opensim-SC-c3d82bdcb1ac2ee0e0bdad75fbf8779252ef31c4.tar.gz opensim-SC-c3d82bdcb1ac2ee0e0bdad75fbf8779252ef31c4.tar.bz2 opensim-SC-c3d82bdcb1ac2ee0e0bdad75fbf8779252ef31c4.tar.xz |
When loading library asset set, only store an asset if it's different from an existing one with the same id.
We compare existing and loaded asset by doing an SHA1 on both, so that a changed library asset will still update the store.
This cuts asset library load time from 10 seconds to <1 sec.
Note, a fix on the previous commit revealed a bug where a library script cannot be copied except on the first login after a cache clear.
This is unrelated to this commit and needs to be fixed at some subsequent time.
Diffstat (limited to 'OpenSim/Region')
0 files changed, 0 insertions, 0 deletions