TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

A native go bcrypt library

2 点作者 weekendlogic将近 14 年前

1 comment

zoowar将近 14 年前
Good job, but you still haven't included my copyright notice in bcrypt.go. Please correct this.<p>I considered a native approach, but found the cgo approach was faster. Who knows if it really makes that much of a difference, but running 'time gotest' on your native version and my cgo version finds the cgo version is faster.<p>native: real: 0m16.017s user: 0m15.899s sys: 0m0.055s<p>cgo: real: 0m9.976s user: 0m9.871s sys: 0m0.055s<p>Should write a Benchmark test for a better comparison.