getUniqueId efficiency could be improved in the common case.

Description

Calls to getUniqueId/getUniqueIds can be given a foreign Dali reference.
However, the common case is where no foreignnode is supplied and the 'local' environment uid allocator is used.

However, in both cases, it lock a mutex and loops through a list of allocators (to find one that matches the supplied foreignnode).

It should have an allocator for the common case and avoid looking in the array of allocators for foreignnodes.

Conclusion

None

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Fix versions

Created March 26, 2019 at 3:34 PM
Updated April 4, 2019 at 8:55 AM
Resolved April 4, 2019 at 8:55 AM

Flag notifications