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

  • SEARCH
  • Home
  • 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 7571409
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T15:40:08+00:00 2026-05-30T15:40:08+00:00

Flash is known to behave in very unpredictable ways ways when it comes to

  • 0

Flash is known to behave in very unpredictable ways ways when it comes to manipulating data. I’m curious that if there is any performance/memory benefit to using Numbers instead of ints aside from values that need precision. I have heard that some basic operations in Flash may convert multiple times between the two type to resolve the expression. I’ve also heard that Flash runtime, under the hood, actually maps ints to non-precision Numbers/Floats during runtime. Is any of this true?

  • 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-05-30T15:40:09+00:00Added an answer on May 30, 2026 at 3:40 pm

    Flash runtime is a dark place indeed.

    • As you mentioned AVM2 does convert big ints into Number.
    • Whole Numbers are actualy ints.
    • And there’s more stuff about ints.
    • Uints used to be slow used in a loop BUT NOW THEY ARE NOT (results in the article seem to be a combination of weird bytecode generation and JIT optimizations).
    • Numbers take more space in memory but this is nothing compared to even a single JPEG file.
    • Logically it feels better to use uints in loops.
    • Numbers are floating point falues you have to be careful comparing them.

    Jackson Dunstan does pretty good tests of different AS3 language constructs performance. Of course it’s always good to check results yourself. From the series about 10.2 performance you can see that with every new Flash Player version they optimize something but other things might get slower: 1 2 3.

    P.S. This answer might get old very soon and might as well be cited in a couple of years later which of course will be wrong.

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

Sidebar

Related Questions

I've got a flash clip that is known to behave weird if user has
I experience the very known flash / html overlay issue in Google Chrome (16.0.912.75
Has Apple been known to recently reject apps that were created in Flash CS5?
There is a wide known issue with printing of Flash content in Firefox and
There are two states a flash preloader can encounter. 1) The totalBytes is known
i hired a designer who knows flash but not flex, is there a way
I know that Flash Catalyst is still in Beta, but I'm trying to look
There is a way to know the flash player version installed on the computer
I'd like to know if Flash/AS3 has any nice way to convert an AS3
I know very little about Flash, and so is not programming in it. I

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.