[poppler] [RFC] Small string optimization in GooString

Adam Reichold adam.reichold at t-online.de
Wed Jul 8 08:51:12 PDT 2015


Hello,

Am 07.07.2015 um 23:19 schrieb Albert Astals Cid:
> Can you please adjust the 
> 
> "// you can tweak this number for a different speed/memory usage tradeoffs.
>   // In libc malloc() rounding is 16 so it's best to choose a value that
>   // results in sizeof(GooString) be a multiple of 16."
> 
> Which doesn't make sense anymore?

I attached an updated wording, or do you mean that the comment about
rounding does not apply anymore? (The only definite thing that I found
was that ptmalloc's minimum allocation size is usually 32.)

Best regards, Adam.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: goo-string-improvements-v3.patch
Type: text/x-patch
Size: 4011 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20150708/cb14ed6c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20150708/cb14ed6c/attachment.sig>


More information about the poppler mailing list