hackalloc – Make allocations local
The package makes all allocation (\newcount, \newdimen, etc.) local.
Maybe you are interested in the following packages as well.
- ital: Automatic italic correction
- declare: Declare register names locally
- nextpage: Generalisations of the page advance commands
- redefine: Conditional macro, etc., definitions