[gegl] buffer: add branch hints in GeglTileBackend
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] buffer: add branch hints in GeglTileBackend
- Date: Tue, 17 Aug 2021 19:33:24 +0000 (UTC)
commit 5bbae48de56f40a2efca89bdd86570387ec167e3
Author: Øyvind Kolås <pippin gimp org>
Date: Sat Jul 31 22:46:35 2021 +0200
buffer: add branch hints in GeglTileBackend
gegl/buffer/gegl-tile-backend.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gegl/buffer/gegl-tile-backend.c b/gegl/buffer/gegl-tile-backend.c
index 6af67279f..99e935a2e 100644
--- a/gegl/buffer/gegl-tile-backend.c
+++ b/gegl/buffer/gegl-tile-backend.c
@@ -164,7 +164,7 @@ tile_command (GeglTileSource *source,
{
GeglTileBackend *backend = GEGL_TILE_BACKEND (source);
- if (command < _GEGL_TILE_LAST_0_4_8_COMMAND)
+ if (G_LIKELY (command < _GEGL_TILE_LAST_0_4_8_COMMAND))
return backend->priv->command (source, command, x, y, z, data);
return _gegl_tile_backend_command (backend, command, x, y, z, data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]