Claude was able to optimize the hell out of one of mine, might be worth a try