[ascoders] Re: Bitshifting ist saulahm
- From: André Michelle <am@xxxxxxxxxxxxxxxxxx>
- To: <ascoders@xxxxxxxxxxxxx>
- Date: Sun, 6 Jun 2004 20:09:09 +0200
Eine Ausnahme:
Wenn man Variablen um mehr als 0 'shifted', dann ist es schneller als eine
Multiplikation und ein 'int'.
Beispiel:
int( 1.1 ) ist schneller als 1.1 >> 0
int( 1.1 ) * 2 ist langsamer als 1.1 << 1;
--
aM
------------------------------------------------------
Archiv : http://www.freelists.org/archives/ascoders/
Optionen : http://www.freelists.org/list/ascoders
------------------------------------------------------
- Follow-Ups:
- [ascoders] Spiegelartikel: Architekten statt Maurer
- From: André Michelle
- References:
- [ascoders] Re: Transform Points in Bounding Quad
- From: Andre Michelle
- [ascoders] Re: Transform Points in Bounding Quad
- From: Mario Klingemann
- [ascoders] Re: Transform Points in Bounding Quad
- From: André Michelle
- [ascoders] Bitshifting ist saulahm
- From: André Michelle
Other related posts:
- » [ascoders] Bitshifting ist saulahm
- » [ascoders] Re: Bitshifting ist saulahm
- [ascoders] Spiegelartikel: Architekten statt Maurer
- From: André Michelle
- [ascoders] Re: Transform Points in Bounding Quad
- From: Andre Michelle
- [ascoders] Re: Transform Points in Bounding Quad
- From: Mario Klingemann
- [ascoders] Re: Transform Points in Bounding Quad
- From: André Michelle
- [ascoders] Bitshifting ist saulahm
- From: André Michelle