# Preallocations

One of the countless optimizations Tween+ does is pre-allocating tween slots.

Here's all you need to know:

```diff
+ The more pre-allocations, the more tweens you can have with quicker start/stop.
The pre-allocation amount is equal to
the amount of tweens you can have with quicker start/stop.

- The more pre-allocations, the more memory/RAM is used.
The memory consumption can be calculated like this:
Bytes  =  PreallocationAmount * 8
```

You can customize the preallocation amount via the `TweenPreallocations` attribute on the main module. It's obviously recommended to leave it at what you believe to be the maximum amount of tweens you're going to be using at once.
