3개의 명령어로 윤년 여부를 확인하기
------------------------------
- *3개의 CPU 명령어* 만으로 윤년을 판별하는 함수를 구현함
- 이 방법은 비트 연산과 곱셈을 이용하여 전통적 분기 없이 동작
- 이 방식은 *0~102499년 범위에서 정확함*
- 벤치마크 결과 기존 방법 대비 *3.8배 가량 빠른 성능*
---

# 개요 및 문제 제시

- 0에서 102499년 사이의 년도에…
------------------------------
https://news.hada.io/topic?id=20945&utm_source=googlechat&utm_medium=bot&utm_campaign=1834

0

If you have a fediverse account, you can quote this note from your own instance. Search https://sns.lemondouble.com/notes/a7v3448dcw on your instance and quote it. (Note that quoting is not supported in Mastodon.)