[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] [PATCH V4] new feature: ability to toogle and jump to b
From: |
Brand Huntsman |
Subject: |
Re: [Nano-devel] [PATCH V4] new feature: ability to toogle and jump to bookmarks |
Date: |
Tue, 13 Nov 2018 21:06:30 -0700 |
On Tue, 13 Nov 2018 07:54:18 -0700
Brand Huntsman <address@hidden> wrote:
> This feature on 64bit
> would cause nano to use an additional 177736 bytes (27% over the
> 660125) to open those files. That is with just the bookmark_x field.
Ignore that, I forgot about the wasted bucket usage. filestruct currently
requires 20-40 bytes (32bit-64bit). Bucket sizes on most OSes are
16/32/48/64..., so there is currently 12-8 wasted bytes. Getting rid of the
boolean will utilize the remaining 8 bytes on 64bit without increasing actual
memory usage.