From f1a0330ff6b4ccbc3c1917c801b8a35da098fc45 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Thu, 5 Jul 2012 09:34:58 +0100 Subject: DOMDocument: Memoize the empty string --- src/core/document.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/document.h') diff --git a/src/core/document.h b/src/core/document.h index a2b1801..6cf1f91 100644 --- a/src/core/document.h +++ b/src/core/document.h @@ -58,6 +58,7 @@ struct dom_document { /**< The DocumentEvent interface */ dom_document_quirks_mode quirks; /**< Document is in quirks mode */ + dom_string *_memo_empty; /**< The string ''. */ }; /* Create a DOM document */ -- cgit v1.2.3