Slide 1

Slide 1 text

Swift compile time is so slow Potatotips #21

Slide 2

Slide 2 text

Masato Oshima github.com/mpon @_mpon ಢ໦ݝ๕լ܊ग़਎ iOS Developer

Slide 3

Slide 3 text

νʔϜମ੍

Slide 4

Slide 4 text

w ΤϯδχΞ͸ਓ w Πϯϑϥʢֻ͚࣋ͪʣ w αʔόʔ w "OESPJE w J04 w ϑϩϯτΤϯυ ॴଐνʔϜͷମ੍

Slide 5

Slide 5 text

Swift 1.2

Slide 6

Slide 6 text

%%%υϝΠϯۦಈઃܭ

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

"OESPJE

Slide 9

Slide 9 text

7JFX$POUSPMMFS J04 7JFX

Slide 10

Slide 10 text

7JFX$POUSPMMFS J04 7JFX

Slide 11

Slide 11 text

7JFX$POUSPMMFS J04 7JFX ʮϘλϯΛԡͨ͠ʯͱ͍͏ςετ͸೉͍͠ɻ Ͱ΋ɺϘλϯΛԡͨ͠ͱ͖ͷʮॲཧʯ͸ ςετՄೳ

Slide 12

Slide 12 text

7JFX$POUSPMMFS J04 7JFX %FMFHBUF

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

EFMFHBUFͷॲཧ͚ͩ Λ·ͱΊΒΕΔͷͰ Մಡੑ

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

4UPSZCPBSE 7JFX$POUSPMMFS

Slide 17

Slide 17 text

ͦΜͳ͜ΜͳͰ ͦΕ΄ͲϠόΠ$POqJDU΋ͳ͘ Ϣχοτςετ΋ॻ͖ͭͭ ίʔυϨϏϡʔ͠ͳ͕Βͷ ϓϧϦΫӡ༻Ͱ ͳΜͱ͔։ൃͰ͖ͯ·͢

Slide 18

Slide 18 text

ຊ౰ʹʁ

Slide 19

Slide 19 text

ίϯύΠϧ࣌ؒ ෼ඵ

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

No content

Slide 24

Slide 24 text

w 4XJGUϑΝΠϧ w 4UPSZCPBSE YJC w $MBTT w &YUFOTJPO w ߹ܭߦ਺ w $MFBO$PNQJMF෼ඵ ͍͍ͩͨͷ౷ܭ৘ใ

Slide 25

Slide 25 text

w 4XJGUϑΝΠϧ w 4UPSZCPBSE YJC w $MBTT w &YUFOTJPO w ߹ܭߦ਺ w $MFBO$PNQJMF෼ඵ ͍͍ͩͨͷ౷ܭ৘ใ

Slide 26

Slide 26 text

w 4XJGUϑΝΠϧ w 4UPSZCPBSE YJC w $MBTT w &YUFOTJPO w ߹ܭߦ਺ w $MFBO$PNQJMF෼ඵ ͍͍ͩͨͷ౷ܭ৘ใ

Slide 27

Slide 27 text

No content

Slide 28

Slide 28 text

$ cat *.swift > God.swift

Slide 29

Slide 29 text

No content

Slide 30

Slide 30 text

ίϯύΠϧ࣌ؒ ඵ

Slide 31

Slide 31 text

ͦͷ͔ΘΓɾɾ ΤσΟλ͕ࢮ๢ɾɾ ສߦ͸ແཧ ΍Ͱ

Slide 32

Slide 32 text

w 4XJGUϑΝΠϧ w 4UPSZCPBSE YJC w $MBTT w &YUFOTJPO w ߹ܭߦ਺ w $MFBO$PNQJMF෼ඵ ͍͍ͩͨͷ౷ܭ৘ใ

Slide 33

Slide 33 text

w 4XJGUϑΝΠϧ w 4UPSZCPBSE YJC w $MBTT w &YUFOTJPO w ߹ܭߦ਺ w $MFBO$PNQJMF෼ඵ ͍͍ͩͨͷ౷ܭ৘ใ

Slide 34

Slide 34 text

No content

Slide 35

Slide 35 text

ਆͷ͓ಋ͖ͷ΋ͱखಈͰҠಈͨ͠

Slide 36

Slide 36 text

No content

Slide 37

Slide 37 text

ίϯύΠϧ࣌ؒ ෼ඵ

Slide 38

Slide 38 text

w 4XJGUϑΝΠϧ w 4UPSZCPBSE YJC w $MBTT w &YUFOTJPO w ߹ܭߦ਺ w $MFBO$PNQJMF෼ඵ ͍͍ͩͨͷ౷ܭ৘ใ

Slide 39

Slide 39 text

No content

Slide 40

Slide 40 text

ίϯύΠϧ࣌ؒ ඵ

Slide 41

Slide 41 text

No content

Slide 42

Slide 42 text

ͱ͸͍͑ɺ ݱ࣮తͰ͸ͳ͍ͷͰ ΋ͬͱ͍͍ํ๏ ڭ͍͑ͯͩ͘͞

Slide 43

Slide 43 text

No content

Slide 44

Slide 44 text

,ZPCBTIJYJC

Slide 45

Slide 45 text

,ZPCBTIJYJC ΍Δ͔΋ʁʁ