QuickBinary PHP extension
C PHP Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
code_gen
tests
win32
.gitignore
CHANGELOG
CREDITS
LICENSE
README
build-optimized-ext
config.m4
config.w32
install-ext-debian
install-ext-other
package.xml
php_qb.h
php_qb.ini
qb.c
qb.h
qb.ini
qb_build.c
qb_build.h
qb_compat.c
qb_compat.h
qb_compat_complex.c
qb_compat_snprintf.c
qb_compiler.c
qb_compiler.h
qb_compiler_optimization.c
qb_crc64.c
qb_data_tables.c
qb_debug_interface.c
qb_debug_interface.h
qb_encoder.c
qb_encoder.h
qb_exceptions.c
qb_exceptions.h
qb_extractor.c
qb_extractor.h
qb_function.h
qb_function_inliner.c
qb_function_inliner.h
qb_interpreter.c
qb_interpreter.h
qb_interpreter_debug.c
qb_interpreter_functions.c
qb_interpreter_functions.h
qb_interpreter_loop.c
qb_interpreter_structures.h
qb_native_compiler.c
qb_native_compiler.h
qb_native_compiler_elf.c
qb_native_compiler_mach.c
qb_native_compiler_win32.c
qb_native_proc_debug.c
qb_op.c
qb_op.h
qb_op_factories.c
qb_op_factories.h
qb_op_factory_behavior_adjustment.c
qb_op_factory_decomposition.c
qb_op_factory_dimension_calculation.c
qb_op_factory_opcode_selection.c
qb_op_factory_operand_coercion.c
qb_op_factory_operand_transfer.c
qb_op_factory_operand_validation.c
qb_op_factory_result_assignment.c
qb_op_factory_result_linkage.c
qb_op_factory_type_resolution.c
qb_opcodes.h
qb_parser.c
qb_parser.h
qb_parser_bison.c
qb_parser_bison.h
qb_parser_bison.y
qb_parser_re2c.c
qb_parser_re2c.h
qb_parser_re2c.l
qb_printer.c
qb_printer.h
qb_storage.c
qb_storage.h
qb_storage_file.c
qb_storage_gd_image.c
qb_thread.c
qb_thread.h
qb_translator_pbj.c
qb_translator_pbj.h
qb_translator_php.c
qb_translator_php.h
qb_types.c
qb_types.h
qb_version.h

README

Accelerator designed mainly for graphic work

QB stands for "Quick Binary." It’s a PHP extension designed to enable faster handling of binary data. It takes a function written in PHP and translate it for a specialized virtual machine. The use of static type information leads significantly higher performance than under PHP’s regular dynamic type system. A PHP+QB function can run anywhere from five to twenty times faster than regular PHP code. For even higher level of performance, one can compile PHP+QB functions to native code (on supported platforms).

QB performs code translation on a per-function basis. It does not affect in anyway code not specially marked. Interaction between PHP+QB functions and regular PHP code is basically seamless. A key design objective of QB is to let developers harness greater processing power than what baseline PHP offers without the risk involved in adopting a brand new platform.