I've labelled that as "up for grabs" and "intro" since it should be pretty
straightforward to do.

On Wed, Nov 25, 2015 at 5:33 PM, Seth <[email protected]> wrote:

> Ah, yes - it's coming full-circle.
> https://github.com/JuliaLang/julia/issues/2879 - I must have
> subconsciously remembered your use of the term "shrink wrap".
>
> On Wednesday, November 25, 2015 at 2:20:45 PM UTC-8, Stefan Karpinski
> wrote:
>>
>> I don't think we have an API for this – I would suggest that
>> sizehint!(c,n) where n is smaller than the current size of the collection c
>> should do this, if someone wants to take a crack at it.
>>
>> On Wed, Nov 25, 2015 at 5:02 PM, Seth <[email protected]> wrote:
>>
>>> Inspired by a discussion here:
>>> https://github.com/JuliaLang/julia/issues/14112#issuecomment-159715454,
>>> it might be nice to be able to reduce the amount of "padded"
>>> (allocated-but-not-yet-used) memory for dynamic structures in certain cases
>>> where we're not planning to expand the structures significantly (and can
>>> tolerate allocation delays if we do).
>>>
>>> Does a function that does something like this exist already?
>>>
>>
>>

Reply via email to