Javascript keystroke trapping when characters entered very rapidly?

A stack would give you last-in-first-out (LIFO) where you would more than likely want to utilize a queue for first-in-first-out (FIFO) as you would want to be dequeuing key characters that first came on the stack. So in theory you would want to use enqueue/dequeue as opposed to push/pop to process keys in the correct order they came in.

Even though you accepted this answer because it corrected the solution as you described it, I'd still be curious to know more about why you are having this issue in the first place. I've implemented real-time keystroke processing with Ext without any issues or the need for queuing keystrokes, so I suspect there may be some underlying issue that you'd still want to fix in your own code. – bmoeskau Dec 29 '09 at 17:41.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions