bitofsky / class.helper Goto Github PK
View Code? Open in Web Editor NEWJavascript class private property & singleton methods
License: MIT License
Javascript class private property & singleton methods
License: MIT License
현재 arguments를 JSON.stringify 로 변환 후 MD5 해싱하는데 병목이 예상됨.
NodeJS의 crypto는 openssl 기반이므로 당연히 MD5 역시 cpu accelerator 로 Pure JS MD5 보다 속도가 향상된 상태라고 예상되므로 그냥 썼는데.. 정확한 측정을 위한 bench 가 필요..
또한 해싱이 가장 빠르다고 주장하는 xxHash 로 변경할 경우는..?
https://cyan4973.github.io/xxHash/
NodeJS용 xxHash 모듈은 현재 Cpp로 빌드된 xxhash와 pure js로 만들어진 xxhashjs 두종류가 있는듯..
xxhash : https://github.com/mscdex/node-xxhash
xxhashjs : https://github.com/pierrec/js-xxhash
상식적으론 xxhash가 빠를것 같지만 별 차이 없다는 벤치가 존재..
https://www.bucyou.net/blog/category/javascript/node-js
xxhash vs md5가 논리적으로 xxhash가 빠르다 하더라도 CPU 가속을 받느냐에 따라 뒤집힐 가능성도 있을듯..
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.