Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
これらの操作を試しました:
(7 xor 5) と (7 - 5)
(7 xor 5)
(7 - 5)
そして私は同じ答えを得ます。どの操作が速いか知りたいです。誰か私に説明できますか?
実行しようとしている操作を明確に表現するコードを記述する必要があります。
コンパイラ/JITter が処理を高速化します。