Faster SQLite

This commit is contained in:
Shoghi Cervantes Pueyo
2012-12-17 16:40:55 +01:00
parent ab3862446c
commit adb795be22
2 changed files with 17 additions and 9 deletions

View File

@ -93,8 +93,8 @@ class ChunkParser{
}
$chunk = "";
foreach($this->map[$X][$Z] as $section => $data){
foreach($data as $r){
$chunk .= $r;
for($i = 0; $i < 256; ++$i){
$chunk .= $data[$i];
}
}
return Utils::writeLInt(strlen($chunk)).$chunk;