> However by firefox making them it means that I don't have to worry about the nitty gritty details about what order of instructions will perform better without changing the code
Actually, Firefox benefits the most from tweaks like this, because its engine is so slow. For whatever reason. That's why I thought this post was interesting!