Skip to content

PHP extension in C++ implementing performance-sensitive parts of the PocketMine-MP chunk system

License

Notifications You must be signed in to change notification settings

pmmp/ext-chunkutils2

Repository files navigation

ext-chunkutils2

CI

What is this?

This extension implements some performance-sensitive components of PocketMine-MP's internal chunk handling system in C++ for better performance and lower memory usage.

What's in the extension?

At the time of writing:

  • \pocketmine\world\format\PalettedBlockArray: This class implements paletted block-storages as per modern MCPE since 1.2.13.
  • \pocketmine\world\format\io\SubChunkConverter: This class contains a series of helper methods for upgrading legacy world terrain.
  • \pocketmine\world\format\LightArray: Implements a 16x16x16 nibble array used for light storage.

What's in the folders?

  • gsl: Subtree merge of https://github.com/microsoft/GSL
  • lib: Library code implementing various chunk components. The code in here is unfettered by PHP and can be used on its own.
  • src: Binding code that glues together PHP and the C++ chunkutils2 components.
  • tests: .phpt tests for the extension which can be run with PHP's run-tests.php tool (or make test when using PHP's build system)

About

PHP extension in C++ implementing performance-sensitive parts of the PocketMine-MP chunk system

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy