|
Threading on uniprocessor machines has proven gains in io, otherwise it is as you state. Technically, due to L-2 writebacks there may be minor gains avaliable, in a core loop for a heavy load, the gain may be measurable ~ but it would depend totally on a JVM implementation on a paticular hardware and OS and ( not to dismiss the depth of your observation ) also depend on weather patterns, operator luck and so on.
If the N-Queens has a layerable aspect, I would naturally have a Threading solution as a goal, but making a single class Runnable then getting layers out of it does not sound to me like an effective approach. We could consider making a class that takes an OrderedPair then doing a foreach{new Runnable();} as todays machines have ablilities to do deep branch prediction and speculative instruction execution that could outrun L-2.
Mind Boggling to say the least. I like to have my mind boggled.
|