Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [11:53pm] krazyj: does anyone know if `[[NSUserDefaults standardUserDefaults] synchronize]` is very expensive?
- [11:53pm] Codhisattva: krazyj: it is indeed very expensive
- [11:53pm] krazyj: Codhisattva: oh really? how expensive is that?
- [11:53pm] Codhisattva: I've seen crazy things happen from it
- [11:54pm] matsebc: like what?
- [11:54pm] Codhisattva: just don't use it carelessly like tralalala sync
- [11:54pm] krazyj: and what kind of perf impact are we talking here? few ms? hundred ms?
- [11:54pm] Codhisattva: it would turn a beautiful OpenGL animation into a herky jerky mess
- [11:55pm] Codhisattva: I spent quite a while tracking down that it was NSUD sync and I was mad
Add Comment
Please, Sign In to add comment