[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gnu-libiconv] [bug #66023] Change the order of variables in `conv_s
From: |
Chen Pi |
Subject: |
[bug-gnu-libiconv] [bug #66023] Change the order of variables in `conv_struct` can reduce its memory usage. |
Date: |
Thu, 25 Jul 2024 04:24:46 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?66023>
Summary: Change the order of variables in `conv_struct` can
reduce its memory usage.
Group: libiconv
Submitter: chenpi11
Submitted: Thu 25 Jul 2024 08:24:43 AM UTC
Category: Program
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Thu 25 Jul 2024 08:24:43 AM UTC By: Chen Pi <chenpi11>
On x86_64-linux-gnu `conv_struct` in `lib/converters.h` will use 80 bytes.
But if we place `ifuncs` and `ofuncs` in front of `iidex`. It will
reduce to 72 bytes.
Is this a good choice?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66023>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
- [bug-gnu-libiconv] [bug #66023] Change the order of variables in `conv_struct` can reduce its memory usage.,
Chen Pi <=