Open GoogleCodeExporter opened 9 years ago
one point where the constant replacement indeed is useful:
llRequestPermissions(g_kOwner, PERMISSION_CONTROL_CAMERA |
PERMISSION_TRACK_CAMERA);
is replaced by
llRequestPermissions(g_kOwner,3072);
here some profiling would be needed to see if this improves any momory usage
but esp. server time usage
Would be great to have a replacement/optimization for this case too:
if (_perm0 & 2048 && _perm0 & 1024) {
(was: if ((perm & PERMISSION_CONTROL_CAMERA) && (perm &
PERMISSION_TRACK_CAMERA)) {)
Original comment by sl-z...@postman.homeip.net
on 31 Mar 2014 at 1:12
Original issue reported on code.google.com by
sl-z...@postman.homeip.net
on 31 Mar 2014 at 1:06