

Ever look at a smelter and think "Why's this thing got 100 iron plates just sitting it it? I wish I could tell it to only keep like, 5... or 500."?
Then this is the answer. Re-Buffer lets you re-define the buffer sizes on Assemblers, Chem Labs, Re-fineries, Particle Colliders, and Re-search labs- and possibly more in the future.
It does this by re-placing the highly-efficient constants in the game's original code with values loaded from a config file- and then over-paying the performance cost by re-writing and re-optimizing all of the code around it. Over all, your game should actually run at least as fast, if not faster by using this mod. At least, until the devs get around to re-writing these sections themselves.
Note that if you want to be able to tweak Miner and Pump buffers, you'll want my other mod, VeinityProject. That one's potentially a lot more than just QoL, so I've split it off into a separate mod for purists.
By default we drop the output buffers to 5x iterations of the recipe. This is generally a very good thing- less materials sitting around converted into potentially the wrong item, less you have to deal with temp storage when rebuilding something, etc. However it might be bothersome in the super early game if you aren't hooking up things to chests for your handcrafting mini-malls. If this is a problem for you, I'd recommmend either cranking the output multiplier up (50 is likely around what you'd want), or just leaving this mod off until you're out of that phase. The performance gains this mod provides are rather unimportant until you're on at least two planets anyways.
Also note, output multipliers limit the buffer to nx +1, not to nx. So a multiplier of 5 on a recipe that produces 1 item will stop at 6 items in the output buffer, while a recipe that produces 3 items will stop at 16 items in the output buffer. This is caused by a guard against a dirty array read I've left in to prevent an empty output buffer from being able to ever be considered "full" without doing a second check.
As a note, part of the speed gain is by allowing certain mechanical edge-cases to just happen, as well as changing certain behaviors. Notably...