On Tue, 2009-03-31 at 11:37 +0100, Daniel Silverstone wrote:
On Tue, 2009-03-31 at 10:15 +0000, netsurf(a)semichrome.net wrote:
> +our %special = (
> + # Some of the type are not defined now!
> + boolean => "int ",
bool please :-) We do use stdbool in NetSurf projects.
> + DOMString => "dom_string *",
Out of interest, should we be porting libdom to libwapcaplet to allow
for faster node name comparison etc when we start to need to apply
libcss to libdom? I believe hubbub will be migrating to libwapcaplet
too.
I think so. However, I wonder if you have any thoughts about interning
Text/CDATASection node contents? I'm not entirely convinced that it's
worth it. There's an obvious win for everything else, though.
J.