First of all, relative is expensive if you call these callbacks at a frequency of 10,000 Hz, yes, some callback implementations can be too expensive. However, a simple callback based on a pointer function will in fact have no overhead.
: , , , , 60 30 /. . , , , , . , AI-.
: GPU, CPU;).