qiniu / qetag Goto Github PK
View Code? Open in Web Editor NEWqetag
qetag
问这个问题是有个顾虑:
既想要消重,又想要不同的文件,不让后来的文件覆盖前面的文件(文件不一样,etag却是一样的),用这个能做到吗?
我这个问法可能有点模糊,我想表达的是,与MD5、SHA256摘要算法相比,这个算法在判断文件唯一性是不是表现得更好?
见到网上有文章说,存在两个内容完全不同的文件,会计算出相同的MD5,在这种场景,这个算法是不是能计算出两个不同的值?是不是会表现得比SHA256更优?
因为我测试了,同名但是内容不同的文件是无法上传的。提示文件已存在。
还有,七牛推荐的key是什么呢?就是qetag?
我看好像就是数字tag,不能自定义tag的
请问文件大于4M时的分块标准是什么? 为何要以4M为标准?
what is this Libs license please?
replace(/\+/g, '_')
应为replace(/\+/g, '-')
提供的 js 实现是 node 中的,如果要在浏览器里面实现的话要如何做?
现象:
JS 版本执行,计算大文件时,速度较慢
期望功能:
增加 WebAssembly 版本支持,使得在浏览器计算 qetag 性能提升
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.