Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
『CrystalとGolangの速さを比較してみた』を考察してみた
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Shoma Saito
April 09, 2017
Programming
380
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
『CrystalとGolangの速さを比較してみた』を考察してみた
『CrystalとGolangの速さを比較してみた』を考察してみた
Shoma Saito
April 09, 2017
More Decks by Shoma Saito
See All by Shoma Saito
11/17 LT テトリスしゅきぴ
tantakan
0
150
10/18 LT swiftで楕円曲線郡を作る
tantakan
0
77
普段iOS書いてるつもりなのでgomobileを取り上げてみる
tantakan
0
140
WWDC2017 個人的まとめ
tantakan
0
210
CrystalとGolangの速さを比較してみた
tantakan
0
190
Other Decks in Programming
See All in Programming
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
280
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
380
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
3
690
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Kaigi on Rails 2026, Tokyo, Japan
marcoroth
2
280
最近”作らせてる” ローカルAIアプリの話
akit37
0
480
Kotlinの15年とServer-Side Kotlin
n_takehata
1
150
作れる、でも消せるか?──安全に「枯らして消す」機能削除術 / Drain, Then Delete
chobishiba
2
820
JAWS-UG 東京支部が始める、JAWS-UG支部コラボ / JAWS-UG lunchtime LT Collaboration
y0hgi
0
280
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
300
現場と育てるRailsモデリング 〜Spreadsheetから始めたモデル設計〜
siroemk
2
640
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
160
R8 の設定見直しでアプリサイズ削減
andpad
0
220
Featured
See All Featured
Game over? The fight for quality and originality in the time of robots
wayneb77
1
310
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Become a Pro
speakerdeck
PRO
31
6.3k
Un-Boring Meetings
codingconduct
0
460
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
750
Git: the NoSQL Database
bkeepers
PRO
433
67k
WCS-LA-2024
lcolladotor
0
890
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Transcript
ͱ ͷ͞Λൺֱͯ͠ΈΔ !NBTPO
-5͋Γ͗ͯ͢ωλ͕ͳ͍ɻ
None
None
NBEFCZ ʹొ
None
ʹొ .BOBT5FDIOPMPHZ4PMVUJPO
Ͳ͏ͬͯ͞ΛൺΔ͔
ϑΟϘφονΛٻΊΔ
ϑΟϘφον
ϑΟϘφον
ϑΟϘφον
ϑΟϘφον
ϑΟϘφον
ϑΟϘφον
ϑΟϘφον F
n+2 = F n+1 + F n F 1 = 1 F 2 = 1
࣮͢Δ
None
͖ͯͱʔ
None
͖ͯͱʔ
None
None
None
None
T T
T T
ͷํ͕ૣ͍ʂ
ͷํ͕ૣ͍ʂ
ʁ
None
Ϋι༷
None
O ( 1 + 5 2 ) (n−1)
O ( 1 + 5 2 ) (n−1)
ఆٛ௨Γ " # ϑΟϘφονΛٻΊΔΞϧΰϦζϜ O ( 1 + 5 2
) (n−1)
"
" ͜Μͳײ͡Ͱ ੵΈॏͶͯ͘
ఆٛ௨Γ ੵΈॏͶ # ϑΟϘφονΛٻΊΔΞϧΰϦζϜ O ( 1 + 5 2
) (n−1) O (n)
ఆٛ௨Γ ੵΈॏͶ # ϑΟϘφονΛٻΊΔΞϧΰϦζϜ O ( 1 + 5 2
) (n−1) O (n) ͘Ͷʁ
ఆٛ௨Γ ੵΈॏͶ # ϑΟϘφονΛٻΊΔΞϧΰϦζϜ O ( 1 + 5 2
) (n−1) O (n)
#
# ( f k+1 f k ) = ( 1
1 1 0) ( f k f k−1 )
# ( f k+1 f k ) = ( 1
1 1 0) ( f k f k−1 ) ( f k+1 f k ) = ( 1 1 1 0) k ( f 1 f 0 )
# ( f k+1 f k ) = ( 1
1 1 0) ( f k f k−1 ) ( f k+1 f k ) = ( 1 1 1 0) k ( f 1 f 0 ) ( f k+1 f k ) = ( 1 1 1 0) k ( 1 0)
# ( 1 1 1 0) k
# ( 1 1 1 0) k ͜Εߴʹܭࢉग़དྷΔΑͶ
# ( 1 1 1 0) k = ( 1
0 0 1) (k = 0) ( 1 0 0 1) k 2 2 (k is even) ( 1 0 0 1) ( 1 0 0 1) k−1 (k is odd)
# ( 1 1 1 0) k = ( 1
0 0 1) (k = 0) ( 1 0 0 1) k 2 2 (k is even) ( 1 0 0 1) ( 1 0 0 1) k−1 (k is odd)
ఆٛ௨Γ ੵΈॏͶ ߦྻ ϑΟϘφονΛٻΊΔΞϧΰϦζϜ O ( 1 + 5 2
) (n−1) O (n)
ఆٛ௨Γ ੵΈॏͶ ߦྻ ϑΟϘφονΛٻΊΔΞϧΰϦζϜ O ( 1 + 5 2
) (n−1) O (n) O (log n)
ఆٛ௨Γ ੵΈॏͶ ߦྻ ϑΟϘφονΛٻΊΔΞϧΰϦζϜ O ( 1 + 5 2
) (n−1) O (n) O (log n) O (log n)
͍ݴޠͰ Φʔμʔߟ͑Α͏Ͷ