Closed GoogleCodeExporter closed 9 years ago
Original comment by wasserman.louis
on 20 Jan 2012 at 4:04
I'd be interested in doing this, though I might request some help from Dmitris
and the memory analysis on Cache that he's already done.
Original comment by wasserman.louis
on 20 Feb 2012 at 5:15
Sounds about right, 40 + 16 + a reference (aligned) holding this structure = 64
bytes that I've been measuring. Without looking the code, I vaguely recall a
TODO note calling out this possibility, is that right?
But the important detail is whether the cost can drop to 48 bytes, rather than
56. One would represent a 25% reduction for these caches, the other 'just'
12.5%, which would be able to justify less extra code complexity than the
former.
This is a case where an external patch would help. If I'm given a patch, I can
easily tell which is the case, or one can use an external memory measuring
tool, or other cruder means to measure the space reduction. And Charles would
be able, at a glance, to see what kind of complexity we're talking.
Original comment by jim.andreou
on 20 Feb 2012 at 11:05
I will attempt a patch, and let y'all know if I encounter any particular
difficulties.
Original comment by wasserman.louis
on 20 Feb 2012 at 11:07
This is somewhat more complex than I'd hoped. I will continue working on it,
but it'll require a fair amount of refactoring.
Original comment by wasserman.louis
on 23 Feb 2012 at 9:25
Original comment by kevinb@google.com
on 12 Mar 2013 at 6:43
This issue has been migrated to GitHub.
It can be found at https://github.com/google/guava/issues/<id>
Original comment by cgdecker@google.com
on 1 Nov 2014 at 4:14
Original comment by cgdecker@google.com
on 1 Nov 2014 at 4:18
Original comment by cgdecker@google.com
on 3 Nov 2014 at 9:08
Original issue reported on code.google.com by
s...@st.informatik.tu-darmstadt.de
on 20 Jan 2012 at 10:28