Hi Mitchell,

What would be the performance consequences of increasing bufferSize in
Accessor.h?

  Increasing bufferSize is most likely to improve performance a
little. For most cases, I wouldn't expect it to be significant.
Notifications will be sent to the container for each flush of the
buffer, so if your container is performing a slow operation inside
that notification then lessening the number of notifications may
improve overall performance.

  The number of notifications can sometimes be an issue so for
Windows there could be an option to call the container directly rather
than using SendMessage similar to how SCI_GETDIRECTFUNCTION is used.
On GTK+, g_signal_emit is less likely to be a performance bottleneck
as it doesn't go through the operating system.

  Neil
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to