Comments (2)
Len()是用来获取长度的呀,不是用来获取内存大小的
from 7days-golang.
应该用SIzeof来计算吧
from 7days-golang.
Related Issues (20)
- http,tcp,rpc
- gee_cache 项目里的 geecache_test.go 文件里有个小错误 HOT 1
- go-web这里的第五章里出现了一些疏忽 HOT 1
- Go 小白问一个环境问题,google 没找到很好的解决方案 HOT 1
- Gee可以写在应届生简历的项目中吗 HOT 1
- gee-web/day4-group/gee/gee_test.go
- geecache day4 一致性哈希疑问 HOT 2
- gee-web项目中 路由注册顺序,导致的Bug HOT 3
- GeeRPC DAY1 中对NewGobCodec中创建写缓冲区的提问
- geerpc第三天服务注册
- geerpc day4服务端超时处理bug一种可能的解决方案
- 想请教一下geecache项目中一致性哈希有实际发挥作用吗? HOT 3
- 望更新 gee-bolt 项目!
- gee-cache/day1-lru/ 文档描述问题
- gee框架绑定json的问题
- 兔兔大佬考虑把项目录成视频吗? HOT 1
- geecache第四天疑问 HOT 1
- 兔兔大佬考虑再写一个 Raft系列
- 请教:这个for循环中加使用go开协程,会不会不停去创建无数多的goroutine? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 7days-golang.