Is it faster to use bitshifts or floor division? And which is better, & or %? All divisors and mods are power of 2, so are binary operations faster? And are they considered bad style? -- http://mail.python.org/mailman/listinfo/python-list
- Bitshifts and "And" vs Floor-division and Modula... jimbo1qaz
- Re: Bitshifts and "And" vs Floor-division a... Mark Lawrence
- Re: Bitshifts and "And" vs Floor-divisi... Cameron Simpson
- Re: Bitshifts and "And" vs Floor-di... Mark Lawrence
- Re: Bitshifts and "And" vs Floor-division a... jimbo1qaz
- Re: Bitshifts and "And" vs Floor-division a... jimbo1qaz
- Re: Bitshifts and "And" vs Floor-divisi... Dave Angel
- Re: Bitshifts and "And" vs Floor-divisi... Steven D'Aprano
- Re: Bitshifts and "And" vs Floor-division a... Dave Angel
- Re: Bitshifts and "And" vs Floor-division a... Terry Reedy
- Re: Bitshifts and "And" vs Floor-division a... Steven D'Aprano