warren

Calgary, Canada

Age: 28

I am a java programmer and a philosopher. Nothing annoys/interests me more than a problem I can't solve. I also like video games.

Sep
24
awarded Autobiographer
Sep
24
awarded Autobiographer
Sep
24
awarded Autobiographer
Sep
24
awarded Autobiographer
Sep
24
awarded Autobiographer
May
20
awarded Teacher
May
19
awarded Editor
May
19
revised Shall remainder always be positive?
added addendum
May
19
answered Shall remainder always be positive?
Feb
8
revised Looking for an efficient integer square root algorithm for ARM Thumb2
fix error
Feb
7
answered Looking for an efficient integer square root algorithm for ARM Thumb2
Feb
3
comment Is it possible to detect window occlusion
If I understand you correctly, I already knew that Relying on builtin Java2D behaviour would not be enough. To save on resources when window is hidden.
Jan
31
awarded Commentator
Jan
31
comment Is it possible to detect window occlusion
Currently, I am drawing to the screen by rendering to either a buffered image or a volatile image, depending on if I need low level pixel manipulation or not, then drawing the image to the window. I am monitoring by setting the resolution to max and looking at the computer's CPU usage while playing an animation at 10.7hz.
Jan
28
comment Is it possible to detect window occlusion
My tests show that rendering speed/cost is unaffected by if the window is covered or not.
Jan
25
asked Is it possible to detect window occlusion
Dec
28
accepted speed of nested synchronized
Dec
28
answered speed of nested synchronized
Dec
28
comment What is the fastest way to find if a large integer is power of ten?
another fail fast test is powers of five end in binary 01 and the rest of the digits follow a repeating pattern (k mod 2^number_of_digits) that can allow for a condensed table.
Dec
28
accepted What is the fastest way to find if a large integer is power of ten?
1 2 3