fed.dyne.org
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.world to Golang@programming.dev · 6 days ago

The cost of a missing nil check (Golang)

discourse.gohugo.io

external-link
message-square
0
link
fedilink
2
external-link

The cost of a missing nil check (Golang)

discourse.gohugo.io

cm0002@lemmy.world to Golang@programming.dev · 6 days ago
message-square
0
link
fedilink
The cost of a missing nil check
discourse.gohugo.io
external-link
I reported a performance regression in the new experimental garbage collector planned for Go 1.25. It was a pretty beefy Hugo site with lots of very large JSON files processed with transform.Unmarshal and then used once. The new GC almost doubled the build times, and the culprit seem to come from a simple nil check. Writing compilers and garbage collectors isn’t for the faint hearted.
alert-triangle
You must log in or # to comment.

Golang@programming.dev

golang@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !golang@programming.dev

This is a community dedicated to the go programming language.

Useful Links:

  • Go Website
  • Effective Go
  • Go by Example
  • How to Start a Go Project

Rules:

  • Posts must be relevant to Go
  • No NSFW content
  • No hate speech, bigotry, etc
  • Try to keep discussions on topic
  • No spam of tools/companies/advertisements
  • It’s OK to post your own stuff part of the time, but the primary use of the community should not be self-promotion.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 8 users / week
  • 53 users / month
  • 214 users / 6 months
  • 2 local subscribers
  • 2.49K subscribers
  • 75 Posts
  • 93 Comments
  • Modlog
  • mods:
  • Ategon@programming.dev
  • RandomDevOpsDude@programming.dev
  • austin@programming.dev
  • BE: 0.19.12
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org