diff options
author | Ty Overby <ty@pre-alpha.com> | 2015-01-01 23:09:16 -0800 |
---|---|---|
committer | Ty Overby <ty@pre-alpha.com> | 2015-01-01 23:44:02 -0800 |
commit | a698146943bcd6df2a61bbfd56badf3018662709 (patch) | |
tree | b2cc041b67dd54f64c6123981bffbd0201f9620a /src/win32/event.rs | |
parent | f68bf85a85ceb416f714bc36ff5aa5c6ae65c008 (diff) | |
download | glutin-a698146943bcd6df2a61bbfd56badf3018662709.tar.gz glutin-a698146943bcd6df2a61bbfd56badf3018662709.zip |
Change the way that events are represented.
The bulk of this commit is changing instances of Vec to RingBuf which is
optimized for the push_back() / pop_front() strategy that is used
internaly in the event system.
The glutin custom iterators are now just wrappers around the RingBuf
iterator type. This will bring the running time of iterator traversal from
O(n^2) to O(n) because shifting-on-delete won't be performed.
Diffstat (limited to 'src/win32/event.rs')
0 files changed, 0 insertions, 0 deletions