Commit 7bc4457e authored by Øyvind Kolås's avatar Øyvind Kolås

added FIXME that gegl_buffer_create_sub_buffer needs optimizing (It uses

* gegl/buffer/gegl-buffer.c: added FIXME that
gegl_buffer_create_sub_buffer needs optimizing (It uses g_object_new
and is called by gegl_buffer_get making object creation a bottleneck
for a lowlevel operation that should be fast.)

svn path=/trunk/; revision=2695
parent 12719392
2008-11-03 Øyvind Kolås <pippin@gimp.org>
* gegl/buffer/gegl-buffer.c: added FIXME that
gegl_buffer_create_sub_buffer needs optimizing (It uses g_object_new
and is called by gegl_buffer_get making object creation a bottleneck
for a lowlevel operation that should be fast.)
2008-11-03 Øyvind Kolås <pippin@gimp.org>
* operations/external/stroke.c: (prepare): use RaGaBaA float.
......
......@@ -865,6 +865,11 @@ gegl_buffer_new (const GeglRectangle *extent,
NULL);
}
/* FIXME: this function needs optimizing, perhaps keep a pool
* of GeglBuffer shells that can be adapted to the needs
* on runtime, and recycling them through a hashtable?
*/
GeglBuffer*
gegl_buffer_create_sub_buffer (GeglBuffer *buffer,
const GeglRectangle *extent)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment