cpstrnew branch (was Re: [fpc-devel] Freepascal 2.4.0rc1 released)
Martin Schreiber
fpmse at bluewin.ch
Wed Nov 11 08:38:09 CET 2009
On Tuesday 10 November 2009 21:38:33 Marco van de Voort wrote:
>
> The only problem is the db-aware part and the few other widgets that can
> have 100000 elements and more, like treeview. There mass conversion can
> hurt, e.g. when loading the data into the widget.
>
That's the reason why MSEgui stores DB strings as UnicodeString in
tmsebufdatset and the other DB access components. Converting utf-8 ->
utf-16 -> utf-8 once while receiving/sending the data over the wire is fast
compared to the data transmission, "you will not notice the small
difference". ;-)
The MSEgui list and tree components store stringdata as UnicodeString of
course.
Martin
More information about the fpc-devel
mailing list