From 92743be24d5ccc99de21dee81ee36307b94877a7 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Tue, 5 Apr 2005 02:36:33 +0000 Subject: [project @ 2005-04-05 02:36:33 by rjw] Reduce re-allocation of memory when receiving files (drastically increases the speed of loading large files locally). Sprite files no longer require two copies of their data. svn path=/import/netsurf/; revision=1598 --- content/content.h | 1 + 1 file changed, 1 insertion(+) (limited to 'content/content.h') diff --git a/content/content.h b/content/content.h index 387fc7a37..0c6833e67 100644 --- a/content/content.h +++ b/content/content.h @@ -239,6 +239,7 @@ struct content { struct fetch *fetch; /**< Associated fetch, or 0. */ char *source_data; /**< Source data, as received. */ unsigned long source_size; /**< Amount of data fetched so far. */ + unsigned long source_allocated; /**< Amount of space allocated so far. */ unsigned long total_size; /**< Total data size, 0 if unknown. */ bool no_error_pages; /**< Used by fetchcache(). */ -- cgit v1.2.3