Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8076381
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T15:14:59+00:00 2026-06-05T15:14:59+00:00

This is a bit of a generic question. I am working on an iOS

  • 0

This is a bit of a generic question.
I am working on an iOS cocoa-2d game which involves complex path finding algorithms. The game is turn based. So before each user’s turn I would like to calculate all possible paths. This involves running a lot of data manipulation commands and allocate and releasing simple data objects (no I/O) I am guessing about a million instructions are required to calculate all the paths each turn. Could the iPhone 3GS, 4 and 4G perform this at a fraction of a second, assuming the game is using a single thread.

In general how many instructions per second can be achieved within the game. I am looking for a guesstimate very high level figure.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T15:14:59+00:00Added an answer on June 5, 2026 at 3:14 pm

    This greatly depends on the type of “instructions” used in your algorithm or calculation, how they are scheduled by your compiler, and how you count them.

    In extremely rough and coarse terms, the ARM CPUs currently used by Apple can issue on the order of 1 integer instruction per clock cycle, and the ARM processor cores used in iOS devices reportedly range in clock speed from 400 MHz to 1 GHz. A high ratio of floating point, multiply or divide instructions or cache misses may significantly change the actual instruction issue and retirement rate.

    But the best way to get an accurate estimate would be to compile and benchmark your actual code on your target iOS device.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This question is pretty generic actually, but I'm really having trouble finding a good
This is a syntax question. I have a generic class which is inheriting from
This question was inspired a bit by this question , in which the most
I know this is a bit generic, but I'm sure you'll understand my explanation.
This is a bit of noob question - I'm still fairly new to C#
This question is a bit rhetorical. At some point i got a feeling that
A bit of a generic question but let's say you have a desktop app
This is a bit of a general question, but I will give a specific
This might seem a bit like a do-my-homework-for-me question (and it is), but I
Sorry that the question of this problem might be a bit vague. I'm trying

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.