Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

Akuukis

Members
  • Content Count

    2
  • Joined

  • Last visited

Everything posted by Akuukis

  1. Thanks Sangar! See the updated first post.
  2. Hello all, As we know, robots (and computers) have low memory, therefore I wanted to find out how much RAM. Everything below is empirically tested on 1MB (=1024KB) robot with OpenOS installed, the following script (http://pastebin.com/Fn34HXLr) I found out, that 10 is a magic number. If you use os.sleep(0) once it doesn't guarantee that garbage collector will run, and even for 9 times garbage collector may not run OpenOS uses approximatelly 210KB of RAM (+/- 20KB) Booleans, numbers and strings uses 9 bytes of RAM. At some size numbers become floats instead of doubles, but I cannot find
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.