How Much Code is in a Megabyte?


#1

There is this game I am making, actually its like an iPad, and I don’t want it to be laggy. I would like to know how much code is in a megabyte, if possible, and find how many megabytes Hopscotch can hold in one project.

I would think that around 50 blocks of code would be a megabyte, but I’m just guessing.


#2

Try asking this question here:


I’m pretty sure that some Hopscotch JSON-interested people have that topic bookmarked or on watching so that they can see every new reply.


#3

Thanks! By the way, what does JSON stand for?


#4

It stands for JavaScript Object Notation.
You can read more about JSON here:
www.json.org.


#5

A project size of 1 MB is actually very big.


#6

How big it would be?


#7

json is just raw text read in a fancy way right?


#8

Yup. It stands for JavaScript Object Notation, but you can use it with other languages as well.


#9

yep
its really nice because you can also read it so if youre testing an api or something you actually see its response, not just alfiwhbv728ajds4jwjfh