TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

A native go bcrypt library

2 pointsby weekendlogicalmost 14 years ago

1 comment

zoowaralmost 14 years ago
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.