gtk_ui_manager_add_ui_from_string on inline string vs. _from_file
- From: Olivier Sessink <oliviersessink gmail com>
- To: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: gtk_ui_manager_add_ui_from_string on inline string vs. _from_file
- Date: Fri, 25 Jun 2010 13:51:55 +0200
Hi all,
what are the advantages of using gtk_ui_manager_add_ui_from_string()
using a inline compiled string vs. gtk_ui_manager_add_ui_from_file() ?
from_string() enlarges the executable, but the executable is one file
that is read from disk as a contiguous block, from_file() makes the
executable smaller, but involves runtime an extra file seek / open /
read / close.
Any opinions?
Olivier
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]