[PATCH] enable double buffering on GtkCanvasPeer

Tom Tromey tromey@redhat.com
Sat Jul 26 23:48:00 GMT 2003


>>>>> "graydon" == graydon hoare <graydon@redhat.com> writes:

graydon> wait, wait, hold the phone.
graydon> [ ... ]

graydon> In other words, it appears that batching JNI calls doesn't
graydon> buy me a great deal in thie context, perhaps 25 or so
graydon> rectangles / second improvement (~ 5% ?).

If your JNI code can be auto-generated we could also generate CNI
versions.  This is only worth looking at if the native code is pretty
thin and if performance is important here.

Tom



More information about the Java-patches mailing list