diff options
author | Albert Astals Cid <aacid@kde.org> | 2009-01-27 00:26:08 +0100 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2009-01-27 00:26:08 +0100 |
commit | b1d4efb082ac3dadd7752a557e5aeb6651e17471 (patch) | |
tree | 0cc90a7d0f80d70a8aeb64d99308592d1e9dabd3 /poppler/Function.h | |
parent | 90f95127d8d89cfcadeb7d701437ab07ce4a8a61 (diff) |
PostScriptFunction::transform optimization
Do not create and destroy a PSStack each time
PostScriptFunction::transform is called gives a 7% speedup on heavy
PostScriptFunction::transform pdf like nytimes firefox ad
Diffstat (limited to 'poppler/Function.h')
-rw-r--r-- | poppler/Function.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/poppler/Function.h b/poppler/Function.h index d16873d7..4cf6fd0e 100644 --- a/poppler/Function.h +++ b/poppler/Function.h @@ -6,6 +6,20 @@ // //======================================================================== +//======================================================================== +// +// Modified under the Poppler project - http://poppler.freedesktop.org +// +// All changes made under the Poppler project to this file are licensed +// under GPL version 2 or later +// +// Copyright (C) 2009 Albert Astals Cid <aacid@kde.org> +// +// To see a description of the changes please see the Changelog file that +// came with your tarball or type make ChangeLog if you are building from git +// +//======================================================================== + #ifndef FUNCTION_H #define FUNCTION_H @@ -220,6 +234,7 @@ private: GooString *codeString; PSObject *code; + PSStack *stack; int codeSize; GBool ok; }; |