HackerTrans
トップ新着トレンドコメント過去質問紹介求人

granularity

no profile record

コメント

granularity
·12 か月前·議論
Nice!

On the leaderboard I'd like to see code size vs cycles in a 2D plot with the Pareto front highlighted.
granularity
·2 年前·議論
Oooo, link to a photo, please!
granularity
·2 年前·議論
Exactly:

> Participants were recruited from the Essex University Economics Lab sample pool. ... The median participant was a graduate student with two years of work experience.

Hard to see how econ grad students play-acting boss says much about the kinds of long-term relationships / group dynamics that appear in the wild.
granularity
·2 年前·議論
Are the scare quotes around wisdom because you're embarrassed to admit that such a thing exists? ;)

Since it seems you've thought about it a bit, I'm interested to hear your definition of what is / isn't wisdom in an engineering context.
granularity
·2 年前·議論
Thanks for the links! Seems like we don't need to mask prior to the first compare, since the low order bits only matter if the high order bits are equal (in which case, we can also safely compare lower bits). Or am I missing something?

  bool IsEveryComponentGreaterThanOrEqual(uint16_t x, uint16_t y) {
    int rv = x >= y;
    auto xg = x & 0x07E0; auto yg = y & 0x07E0; rv &= xg >= yg;
    auto xb = x & 0x001F; auto yb = y & 0x001F; rv &= xb >= yb;
    return rv != 0;
  }