tech
Decrypt Go: empty struct
Decrypt Go: empty struct. In Go, a normal struct typically occupies a block of memory. However, there's a special case: if it's an empty struct, its size i。
tech
Decrypt Go: empty struct. In Go, a normal struct typically occupies a block of memory. However, there's a special case: if it's an empty struct, its size i。
Analyze Various High-Performance JSON Parsing Library In Go.. Compare the performance, advantages, and disadvantages of fastjson , gjson , and jsonparser。
huizhou92’s Newsletter-2024–24. Starting this week, the temperature is rising, and we are officially entering summer. How was your past week, my friends? T。
tech
本文深入分析了 Go 语言中多种高性能 JSON 解析库,包括标准库 JSON Unmarshal、fastjson、gjson 和 jsonparser。通过对比它们的性能、优缺点及适用场景,帮助开发者选择合适的 JSON 解析工具。文章还提供了详细的源码解析和性能测试数据,适合对性能有要求的开发者参考。
tech
Compare the performance, advantages, and disadvantages of fastjson, gjson, and jsonparser This article delves into the analysis of how the standard library in Go parses JSON and then explores popular JSON parsing libraries, their characteristics, and how they can better assist us in development in different scenarios. This article is
tech
上周,Go 1.23 进入冻结期,这意味着不会添加任何新功能,并且任何已添加的功能不太可能被删除。这是一个预览即将发生的变化的好机会。 这篇文章,来了解一下 1.23 转正的 iter 包。 This article is first published in the medium MPP plan. If you are a medium user, please follow me in medium. Thank you very much. 在Go 1.22中,引入了range over func实验性功能,但需要通过参数GOEXPERIMENT=rangefunc启用。在Go 1.
Go 1.23: new iter package. Last week, Go 1 .23 entered the freeze period, meaning no new features will be added, and any already added features are unlikel。
huizhou92’s Newsletter-2024–23. Hello everyone, I am huizhou92. So glad we meet again. I will share the best articles, snippets, and anything else I have r。
tech
Last week, Go 1 .23 entered the freeze period, meaning no new features will be added, and any already added features are unlikely to be removed. This is a great opportunity to preview the upcoming changes. In this article, Let’s learn about the new iter package. This article is
Golang 1.23: new unique package. Last week, Go 1 .23 entered the freeze period, meaning no new features will be added, and any already added features are u。
tech
上周,Go 1.23 进入冻结期,这意味着不会添加任何新功能,并且任何已添加的功能不太可能被删除。这是一个预览即将发生的变化的好机会。 这篇文章,我们来介绍引入的新包unique This article is first published in the medium MPP plan. If you are a medium user, please follow me in medium. Thank you very much. 根据wikipedia的描述,interning是按需重复使用具有同等值对象的技术,减少创建新对象的动作。这种创建模式经常用于不同编程语言中的数和字符串,可以避免不必要的对象重复分配的开销。 unique 参考了go4.org/intern ,将它移动到了 官方库,并且做了相应的修改。 issue #62483 就像官方描述的一样
tech
Last week, Go 1 .23 entered the freeze period, meaning no new features will be added, and any already added features are unlikely to be removed. This is a great opportunity to preview the upcoming changes. In this article, we will introduce the new package unique This article is first