SliceInstantiationTicket is used as bus id in SliceInstantiationResultBus, as result it's used as key for internal hash table and hash function is used extensively when spawning dynamic slices.
Current implementation of hash function uses Crc32, which is quite slow - on my PC it takes around 20 microseconds, which can add up to a considerable time loss - single slice spawn causes multiple hash table operations, recalculating hash each time.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
SliceInstantiationTicket is used as bus id in SliceInstantiationResultBus, as result it's used as key for internal hash table and hash function is used extensively when spawning dynamic slices. Current implementation of hash function uses Crc32, which is quite slow - on my PC it takes around 20 microseconds, which can add up to a considerable time loss - single slice spawn causes multiple hash table operations, recalculating hash each time.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.