Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenlib/intern/BLI_heap.c
| Context not available. | |||||
| /** | /** | ||||
| * Can be used to avoid #BLI_heap_remove, #BLI_heap_insert calls, | * Can be used to avoid #BLI_heap_remove, #BLI_heap_insert calls, | ||||
| * balancing the tree still has a performance cost, | * balancing the tree still has a performance cost, | ||||
| * but is often much less than remove/insert, difference is most noticable with large heaps. | * but is often much less than remove/insert, difference is most noticeable with large heaps. | ||||
| */ | */ | ||||
| void BLI_heap_node_value_update(Heap *heap, HeapNode *node, float value) | void BLI_heap_node_value_update(Heap *heap, HeapNode *node, float value) | ||||
| { | { | ||||
| Context not available. | |||||