-
Øyvind "pippin" Kolås authored
This avoids both function call overhead and extra checks for values that are outside MININT/MAXINT range, for the uses inside GeglBuffer we only care about coordinates that are representable as integers - thus these inline-able shortcut versions are good enough for us. The speedup seems to consistently make all samplers about 10% faster according to the tests in perf/
f1be6fb4