First post, by keenmaster486
- Rank
- l33t
I'm trying to optimize this 2D game engine I'm writing to be as fast as possible. Ultimately I want it to run on a 486 with no problems, right now it just barely runs smoothly on a 486 but has no problems on Pentium-based machines.
The question is this: how much faster is integer math than floating point on a 486, and likewise with a Pentium? And how much speed can I gain on each processor by converting as many key variables as I can to long integers instead of single or double precision jobs?
I do know that floating point math is faster on a Pentium than on a 486, so maybe the speed gain, if there was any, would be more noticeable on the 486. Can someone impart knowledge here? 😁
World's foremost 486 enjoyer.