ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/maps/perl/map-prefetch.ext
(Generate patch)

Comparing deliantra/maps/perl/map-prefetch.ext (file contents):
Revision 1.8 by root, Sun Jul 16 19:14:10 2006 UTC vs.
Revision 1.10 by root, Thu Aug 3 11:23:58 2006 UTC

116 my ($ob) = @_; 116 my ($ob) = @_;
117 117
118 prefetch_map $ob->map; 118 prefetch_map $ob->map;
119} 119}
120 120
121if (0) { #test#
121# prefetch a few players/second 122# prefetch a few players/second
122{ 123{
123 my @players; 124 my @players;
124 125
125 Event->timer (interval => 0.2, cb => sub { 126 Event->timer (interval => 0.2, cb => sub {
149 }; 150 };
150 151
151 $prefetch->(); $prefetch->(); 152 $prefetch->(); $prefetch->();
152 }; 153 };
153}); 154});
155}
154 156
155 157
156 158

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines