Question: I moved from using the Flex Builder 3 IDE to Flash Builder a couple weeks ago and have noticed a ridiculous jump in compile times with the same project. It almost seems like every time I build it does a clean build. The project I am working with is pretty big, but when it takes more than 4 mins to build, something is wrong. I tried adding more memory to eclipse and all the tricks I could find on the web but the compile time never really changed.

I am running under Windows 7 32bit, and I get the same performance from the plugin and stand alone version of the IDE.

Anyone know why and how I can speed things up?

Answer: 
Consider using a bitmap: two 64-bit unsigned ints, one for white and one for black. Then you can represent moves and board positions as a function from `(W x B) -> (W x B)` where *W*, *B* represent the set of possible white and possible black positions respectively.

Then most of the board position stuff can be done with integer arithmetic, which is about as fast as you can get.
I would also use a bitmap for this. The functions to check for 1, 2, and 3 will be a little unintuitive to write, but should be very fast. 

You'll, of course, need to be careful of the edge cases and a fast solution will probably involve some integer and modular arithmetic on the indexes.