GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Pluto
  • Discord
  • GitHub
  • Getting Started
  • Editor Integration
  • New Operators
  • New Features
  • QoL Improvements
  • Runtime Environment
  • Optimizations
  • Jump Table
  • Special Arithmetic
  • String Preallocation
  • Packages

This view

  • Original page
  • New address

GeezerVison is showing pluto-lang.org — Optimizations | Pluto

📄️ Jump Table

Lua implemented a jump table, but it is only compatible with clang and gcc. Pluto has an additional jump table implementation for other compilers; however, it is not enabled by default because it can add minutes to compile time, depending on the setup. However, it may be beneficial to you regardless, as a jump table can increase virtual machine performance by up to 5%.

📄️ Special Arithmetic

Special arithmetic algorithms are optimized by Pluto during compile-time.

📄️ String Preallocation

String preallocation can be used in C functions to avoid a copy when data is allocated just for Lua, e.g.:

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.