about this site
V2EX is the personal blog of Xin Livid Liu.
Xin is an iPhone developer. His wife Olivia and he are enjoying inspirations in their OLIVIDA Studio.
Xin is an iPhone developer. His wife Olivia and he are enjoying inspirations in their OLIVIDA Studio.
archives
tags
- Adium
- Anime
- Apple
- App Store
- Beginning
- Beta
- cocos2d
- Code
- Code Geass
- Cydia
- Design
- Example
- FAQ
- Games
- Gomoku
- Hangzhou
- Interface Builder
- iPhone
- iPhone Developer Program
- Jabber
- Java
- Live
- MacBook Pro
- Nonsense
- NSString
- nVIDIA
- Performance
- Smack
- SQLite
- Themes
- Thinking
- Trip
- Tutorial
- UIActionSheet
- UIImageView
- UITableView
- UITableViewCell
- UIView
- UIViewController
- V2EX
- Video
- WordPress
- Xcode
- XMPP
links
iPhone Simulator is Vastly Faster Than Real Device
Posted in Life on October 12th, 2009 by Xin
These days I’m working on a better implementation of AI for my game Gomoku, and found that when performing pure math & logic calculations, iPhone simulator is vastly faster than real device, maybe 10x times! I implemented a new way to calculate next move for computer in the board name, it took few seconds to calculate inside simulator, but more than 30 seconds on real device. Interesting. I need to put more work on my algorithm, definitely!
I do think the XCode compiles source code into x86 assembly code for simulator , while arm code for real device

