Dylan T.

Results 339 issues of Dylan T.

Using `get_properties_for` would be far preferable. We don't really need a custom serialize handler; we just need to be able to provide a custom set of properties. The current code...

enhancement

#95 removed mutable methods for AxisAlignedBB. However, many usages within PM Block classes made use of several chained BB methods together. It might be worth introducing an `AxisAlignedBBBuilder` (or an...

This PR implements #126. The memory usage improvement is very slim according to initial tests - sadly the gains from not allocating the simple tag objects are negated by the...

User code rarely interacts with the likes of `IntTag` directly. It's also horribly inefficient to box integers this way. In addition, extra objects means extra work for the GC. All...

Type: Enhancement

One of the annoying properties of NBT is that the entire thing has to be parsed in order to know how long it is, because a length prefix usually isn't...

Type: Enhancement

- [x] account for ZEND_JMP_FRAMELESS - [x] internal functions can now have doc comments - [x] function literals may now have IS_UNDEF holes due to compile-time optimizations - [ ]...

There's a few tricks I picked up over the years to figure out what needed to be changed in new versions: - `git diff PHP-8.2..PHP-8.3 -- php-src/ext/opcache/zend_persist.c` (replace `8.2` and...

https://github.com/google/leveldb/blob/23e35d792b9154f922b8b575b12596a4d8664c65/include/leveldb/c.h#L180-L181 APIs are provided to set a logger, but there's no way to init the opaque structure.

Hi, I maintain a fork of LevelDB (https://github.com/pmmp/leveldb) for reading Minecraft Bedrock worlds. The only significant difference between mojang/leveldb and google/leveldb is that mojang/leveldb uses more compression types instead of...