0

I see register is used here.

https://gist.github.com/hmic/1676398

But I don't why it is specified as register. It seems the reasons listed here don't apply.

https://www.geeksforgeeks.org/understanding-register-keyword/

Could anybody let me know why register is needed in the DJBX33A hash algorithm?

user1424739
  • 11,937
  • 17
  • 63
  • 152
  • Possible duplicate of ["register" keyword in C?](https://stackoverflow.com/questions/578202/register-keyword-in-c) – Brian Cain Mar 05 '19 at 02:41
  • 2
    It's not needed – M.M Mar 05 '19 at 02:41
  • 1
    These days, the `register` keyword is neither needed nor really helpful. The compiler probably ignores. There’s one semantic rule: you can’t take the address of a register variable. That’s obscure enough that really isn’t relevant. – Jonathan Leffler Mar 05 '19 at 02:51

0 Answers0