V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  ibireme  ›  全部回复第 1 页 / 共 8 页
回复总数  149
1  2  3  4  5  6  7  8  
2020-10-22 13:22:21 +08:00
回复了 ibireme 创建的主题 C 写一个最快的 JSON Library
@wzzzx 其实用到 C99 的 stdint 和 stdbool,但加一点兼容逻辑就能适配 C89 了。有些编译器比如旧一点的 msvc 是不支持完整 C99 的。
2020-10-22 13:19:10 +08:00
回复了 ibireme 创建的主题 C 写一个最快的 JSON Library
@mathzhaoliang 从外面的 json_read 和 json_write 入口看进来就挺清晰了,代码里面是按功能分开的,数据结构可以看这里: https://github.com/ibireme/yyjson/blob/master/doc/DataStructure.md
2020-10-21 19:59:32 +08:00
回复了 ibireme 创建的主题 C 写一个最快的 JSON Library
@youxiachai 病没好,不如说更瘦了。。
@nonduality @youla 库本身还有待完善呢,port 到其他语言先缓缓吧~
2020-10-21 14:46:05 +08:00
回复了 ibireme 创建的主题 C 写一个最快的 JSON Library
@fwee @littlewing
总之就是想办法充分利用 CPU 的指令级并行,优化分支预测、优化未对齐内存访问等等,
然后想办法让编译器生成更优的指令,以后有空可能会写点文章分享下。
2020-10-21 11:56:44 +08:00
回复了 ibireme 创建的主题 C 写一个最快的 JSON Library
@fengjianxinghun 编译器不支持就没用啊,而且只在处理长浮点数时能快一点,普通 JSON 根本用不到。
2020-10-21 11:53:50 +08:00
回复了 ibireme 创建的主题 C 写一个最快的 JSON Library
@jzyff 读写都快 3-5 倍
2016-10-23 01:12:53 +08:00
回复了 icedx 创建的主题 天黑以后 20161023 午夜俱乐部
终于把 FateGO 的资源和数据解出来了~
2016-10-05 01:36:47 +08:00
回复了 icedx 创建的主题 天黑以后 20161005 午夜俱乐部
FGO 氪了好多。。。然而还是没有呆毛王,也没有阿提拉。。。
2016-06-15 01:07:48 +08:00
回复了 Gua 创建的主题 天黑以后 20160615 午夜俱乐部
Vanity of vanities, All is vanity.
2016-04-12 00:42:33 +08:00
回复了 AtlantisZ 创建的主题 分享发现 京东图书勋章领 200-80 卷,可叠加 300-100 活动.
抢到啦~买买买~~感谢已发送~~~
2016-04-12 00:37:19 +08:00
回复了 icedx 创建的主题 天黑以后 20160412 午夜俱乐部
刚才联通抽风断网了。。感觉 "哇~~要死要死了"
看书,屏幕很棒~
画画,手感比想象中的差好多。。。
然后就是玩游戏~~
2016-03-06 22:29:14 +08:00
回复了 arden 创建的主题 程序员 关于绘画 App 画完一幅画后能够重新播放整个绘画的过程
@arden

记录手指在屏幕上的触摸点、时间点、画笔设置,这样就行了。回放的时候,时间点可以调节一下,让回放速度显得快一些。浏览器显示是用 Canvas 绘制的。。

下面是你给的链接里那个签名的 JSON 数据:

{"status":1,"result":{"imagejson":{"date":"1457265559665","count":2,"path":[{"w":150,"c":"FF000000","p":[{"x":80,"y":168.32},{"x":102.48,"y":154.56},{"x":128.72,"y":138.32},{"x":154.96,"y":123.28},{"x":182.48,"y":107.04},{"x":200,"y":97.04},{"x":211.2,"y":90.8},{"x":212.48,"y":104.56},{"x":180,"y":148.32},{"x":144.96,"y":213.28},{"x":117.44,"y":272.08},{"x":100,"y":320.8},{"x":90,"y":360.8},{"x":81.2,"y":392.08},{"x":78.72,"y":409.52},{"x":76.24,"y":423.28},{"x":76.24,"y":410.8},{"x":83.68,"y":380.8},{"x":103.68,"y":339.52},{"x":131.2,"y":297.04},{"x":163.68,"y":254.56},{"x":202.48,"y":217.04},{"x":234.96,"y":187.04},{"x":258.72,"y":167.04},{"x":278.72,"y":157.04},{"x":292.48,"y":155.76},{"x":302.48,"y":190.8},{"x":291.2,"y":260.8},{"x":270,"y":314.56},{"x":246.24,"y":357.04},{"x":224.96,"y":377.04},{"x":204.96,"y":382.08},{"x":177.44,"y":374.56},{"x":158.72,"y":344.56},{"x":147.44,"y":304.56},{"x":144.96,"y":270.8},{"x":144.96,"y":223.28},{"x":147.44,"y":178.32},{"x":154.96,"y":142.08},{"x":158.72,"y":123.28},{"x":156.24,"y":137.04},{"x":151.2,"y":175.76},{"x":150,"y":222.08},{"x":150,"y":257.04},{"x":150,"y":292.08},{"x":150,"y":309.52},{"x":163.68,"y":285.76},{"x":172.48,"y":218.32}]},{"w":150,"c":"FF000000","p":[{"x":224.96,"y":65.76},{"x":228.72,"y":85.76},{"x":228.72,"y":115.76},{"x":218.72,"y":168.32},{"x":196.24,"y":222.08},{"x":174.96,"y":267.04},{"x":158.72,"y":290.8},{"x":147.44,"y":300.8},{"x":162.48,"y":272.08},{"x":187.44,"y":248.32},{"x":204.96,"y":230.8},{"x":216.24,"y":219.52},{"x":220,"y":235.76},{"x":192.48,"y":287.04},{"x":161.2,"y":357.04},{"x":144.96,"y":412.08},{"x":132.48,"y":464.56},{"x":127.44,"y":503.28},{"x":127.44,"y":528.32},{"x":127.44,"y":540.8},{"x":151.2,"y":519.52},{"x":163.68,"y":463.28},{"x":177.44,"y":414.56},{"x":188.72,"y":389.52},{"x":203.68,"y":374.56},{"x":216.24,"y":370.8},{"x":231.2,"y":372.08},{"x":242.48,"y":407.04},{"x":243.68,"y":449.52},{"x":243.68,"y":492.08},{"x":226.24,"y":520.8},{"x":210,"y":532.08},{"x":188.72,"y":532.08},{"x":174.96,"y":527.04},{"x":172.48,"y":504.56},{"x":180,"y":464.56},{"x":213.68,"y":420.8},{"x":258.72,"y":369.52},{"x":293.68,"y":329.52},{"x":321.2,"y":292.08},{"x":337.44,"y":273.28},{"x":348.72,"y":264.56},{"x":358.72,"y":299.52},{"x":347.44,"y":347.04},{"x":340,"y":398.32},{"x":338.72,"y":438.32},{"x":338.72,"y":468.32},{"x":338.72,"y":485.76},{"x":351.2,"y":487.04},{"x":363.68,"y":447.04},{"x":380,"y":395.76},{"x":402.48,"y":350.8},{"x":430,"y":315.76},{"x":450,"y":299.52},{"x":464.96,"y":293.28},{"x":478.72,"y":293.28},{"x":488.72,"y":322.08},{"x":488.72,"y":357.04},{"x":466.24,"y":399.52},{"x":451.2,"y":425.76},{"x":443.68,"y":438.32},{"x":454.96,"y":430.8},{"x":487.44,"y":388.32},{"x":523.68,"y":323.28},{"x":550,"y":253.28},{"x":564.96,"y":208.32},{"x":572.48,"y":178.32},{"x":576.24,"y":160.8},{"x":572.48,"y":197.04},{"x":560,"y":245.76},{"x":547.44,"y":294.56},{"x":542.48,"y":330.8},{"x":540,"y":357.04},{"x":548.72,"y":322.08},{"x":570,"y":265.76},{"x":600,"y":219.52},{"x":634.96,"y":188.32},{"x":671.2,"y":163.28},{"x":696.24,"y":149.52},{"x":711.2,"y":139.52},{"x":716.24,"y":127.04},{"x":702.48,"y":127.04},{"x":687.44,"y":130.8},{"x":671.2,"y":153.28},{"x":662.48,"y":187.04},{"x":656.24,"y":230.8},{"x":652.48,"y":278.32},{"x":652.48,"y":319.52},{"x":663.68,"y":339.52},{"x":680,"y":349.52},{"x":697.44,"y":353.28},{"x":718.72,"y":353.28},{"x":688.72,"y":359.52},{"x":634.96,"y":402.08},{"x":583.68,"y":445.76},{"x":550,"y":480.8},{"x":534.96,"y":503.28},{"x":547.44,"y":517.04},{"x":602.48,"y":510.8},{"x":656.24,"y":489.52},{"x":702.48,"y":465.76},{"x":738.72,"y":449.52},{"x":756.24,"y":434.56},{"x":756.24,"y":415.76},{"x":728.72,"y":402.08},{"x":698.72,"y":398.32},{"x":668.72,"y":398.32},{"x":647.44,"y":409.52},{"x":634.96,"y":457.04},{"x":634.96,"y":525.76},{"x":646.24,"y":590.8},{"x":670,"y":635.76},{"x":700,"y":655.76}]}]}}}
2016-03-03 11:21:53 +08:00
回复了 hyt7212 创建的主题 macOS 在 mac 上你们都用什么网盘存文件
github private...
2016-02-22 10:11:09 +08:00
回复了 MajestySolor 创建的主题 问与答 很多国内网站的所谓“第三方”登录到底是什么逻辑?
如果你只支持用微信直接登录,然后有一天微信看你不爽把你封掉,你这个网站就完蛋了。。
然而 Google 、 FB 之类的,基本是不用担心。
这个。。该怎么说呢。。
2016-02-19 22:46:59 +08:00
回复了 http2 创建的主题 分享发现 app store 帐号被恶意盗走, app 被恶意下架
搜 “ Boss 直聘”,能搜出来 Lagou 做的假 App ,
但是搜 “拉钩”,也能搜出来 BossZhiPin 做的假 App 。。

怎么看这两家公司在 AppStore 的做法都蠢的要死。。
2016-02-18 18:17:00 +08:00
回复了 surfire91 创建的主题  Pay Apple Pay 绑卡的体验真是太烂了!
一直没见到加卡的界面。。
然后设置地区改成美国,很顺利,半分钟搞定。
2016-02-18 14:49:49 +08:00
回复了 est 创建的主题 Kindle kindle unlimited 是个坑,大家千万抗拒诱惑不要挑,因为
2016-02-18 14:32:32 +08:00
回复了 julyclyde 创建的主题  Pay Apple 的互联网服务就是打云计算的脸
苹果的软件 微软的硬件 。。
2016-02-18 14:30:11 +08:00
回复了 jiar 创建的主题 iDev v 友们写后台都用什么框架?
@armstrong Rose 基本上是人人网出来的人在用。。
1  2  3  4  5  6  7  8  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2782 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 27ms · UTC 12:03 · PVG 20:03 · LAX 04:03 · JFK 07:03
Developed with CodeLauncher
♥ Do have faith in what you're doing.