Better HN
topnewbestaskshowjobs
Log inSign up

lambdajones

6 karma · joined Jul 3, 2009 (17y ago) · 5 submissions

Submissions

comment 17y ago · link · parent

it means why is probably in a remote, hidden mountain village in Colorado.

comment 17y ago · link · parent

I don't disagree. I tried to tell the product people that on several occasions, but it fell on deaf ears. So might as well do it right, eh?

comment 17y ago · link · parent

Got around to profiling it last night. My code is faster, if you accept the cost of mystery.

http://lambdajones.com/b52why

comment 17y ago · link · parent

Yeah, a ull is overkill. This code comes from a furious couple weeks of coding, an attempt at being clever and going for speed. I'm not sure if I accomplished either. The thinking at the time was that the constants might cache better. I know, don't be clever.

comment 17y ago · link · parent

b52 maps each short url code to a unique number, 0-(52^5)