> debug.SetMemoryLimit will be useful (for me at least).

Me too!  :) I need to read up more about it though.  It seems to be a soft
limit, not a hard limit.  We run in a container that has limited memory..
and anything we can do to make the GC aware of that limit would be nice..

-Eric
http://www.google.com/profiles/eric.hubbard


On Sun, Jun 12, 2022 at 9:37 AM Amnon <amno...@gmail.com> wrote:

> debug.SetMemoryLimit will be useful (for me at least).
> But a bit disappointed not to see a fix for
> https://github.com/golang/go/issues/50603.
>
> On Sunday, 12 June 2022 at 05:51:23 UTC+1 ben...@gmail.com wrote:
>
>> I'm quite looking forward to the performance improvements we'll get for
>> free (i.e., by just upgrading): sort will be faster, large switch blocks
>> will be faster due to now using jump tables (good for interpreter
>> opcode-dispatch loops), and regexp will be a little faster due to a
>> pointer-vs-value optimization (
>> https://go-review.googlesource.com/c/go/+/355789 -- not mentioned in the
>> Go 1.19 release notes).
>>
>> -Ben
>>
>> On Sunday, June 12, 2022 at 9:27:27 AM UTC+12 Ian Lance Taylor wrote:
>>
>>> On Sat, Jun 11, 2022 at 12:30 AM Amnon <amn...@gmail.com> wrote:
>>> >
>>> > What are the biggest, and most exciting changes coming in 1.19?
>>>
>>> The draft release notes are at https://tip.golang.org/doc/go1.19 .
>>>
>>> 1.18 was a big release with a lot of exciting changes. 1.19 is more
>>> of a relaxed, catch your breath release. Personally I think the most
>>> exciting change is runtime/debug.SetMemoryLimit.
>>>
>>> Ian
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/golang-nuts/bb037f28-5185-47fb-a439-23f61b7d716fn%40googlegroups.com
> <https://groups.google.com/d/msgid/golang-nuts/bb037f28-5185-47fb-a439-23f61b7d716fn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CABOXiu1PD8UhiP3tEEokYdB-WfD6-kxKcB4LfvT%3DGmtyFLz9sA%40mail.gmail.com.

Reply via email to