Better HN
topnewbestaskshowjobs
Log inSign up

garlicbreadftw

158 karma · joined Jan 29, 2011 (15y ago) · 5 submissions

Submissions

1.

Building a Team: What Can You Bring to the Table?(jeanhsu.com ↗)

2 points · by garlicbreadftw · 14y ago · discuss

2.

Struggling with the Gender Gap(jeanhsu.com ↗)

22 points · by garlicbreadftw · 15y ago · 33 comments

comment 15y ago · link · parent

Is there an md5 function that returns a primitive type?

The ones I know of return structs or arrays, which you can't compare via == in C. (I assume you're using C since strcmp is used for C strings.)

If you already have the md5's precomputed, they're probably less data, so it would be faster in that case. If you include the time to compute md5, then strcmp is definitely faster. Intuitively, strcmp just needs to do one very fast pass over the strings, with just a single comparison per character; while md5 needs to do a lot more work just to compute its output.

4.

The Benefits of Being a Female Software Engineer(jeanhsu.com ↗)

112 points · by garlicbreadftw · 15y ago · 112 comments

5.

Android Booth Ridiculousness at MWC(jeanhsu.com ↗)

32 points · by garlicbreadftw · 15y ago · 1 comment