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

Comparing deliantra/server/ext/map-random.ext (file contents):
Revision 1.34 by root, Fri Nov 6 17:41:09 2009 UTC vs.
Revision 1.35 by root, Sun Nov 8 22:28:10 2009 UTC

174 } 174 }
175 } 175 }
176 }; 176 };
177} 177}
178 178
179# save test
180if (0) {
181 cf::async {
182 # 0.58
183 Coro::Timer::sleep 2;
184 my $map = cf::map::find "/mlab/citydeclouds2";
185 $map->load_header;
186 $map->load;
187 $map->post_load_original;
188 my $m=100;
189 for (1..50) {
190 my $t=EV::time;
191 $map->_save_objects ("/tmp/x", cf::IO_HEADER | cf::IO_OBJECTS | cf::IO_UNIQUES);
192 $t = EV::time-$t;
193 $m=$t if $m>$t;
194 warn $m;
195 }
196 };
197}
198
1791 1991
180 200

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines