… | … | ||
---|---|---|---|
174 | } | 174 | } |
175 | } | 175 | } |
176 | }; | 176 | }; |
177 | } | 177 | } |
178 | 178 | ||
179 | # save test | ||
180 | if (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 | |||
179 | 1 | 199 | 1 |
180 | 200 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |