<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - GooString wastes 4 bytes on 64-bit systems"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97506#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - GooString wastes 4 bytes on 64-bit systems"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97506">bug 97506</a>
from <span class="vcard"><a class="email" href="mailto:jakubkucharski97@gmail.com" title="Jakub Kucharski <jakubkucharski97@gmail.com>"> <span class="fn">Jakub Kucharski</span></a>
</span></b>
<pre>If the current behavior is intended to keep length at aligned offset, then
maybe GooString could be made bigger, because 16 bytes for sStatic on a 64-bit
system (they usually have a bit more RAM than 32-bit systems, so it could be
made use of) seems a bit small to me. I've tried that by defining
STR_FINAL_SIZE as:
static const int STR_FINAL_SIZE = 8 * sizeof(char*); // 32 on a 32-bit system,
64 on a 64-bit one
, but for some reason it breaks PDFDoc construction in PDFDocFactory (a problem
in a "new" operator function - not sure which though). If you say the above
line is desirable, then I could take some time and debug the issue.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>