Fix performance issue with compile if no default locals are defined
Fix performance issue with compile if no default locals are defined

paularmstrong/swig,gitoneman/swig,gitoneman/swig,mahdaen/swig,Lochlan/swig,genify/swig,mahdaen/swig,jrvldam/swig,benpptung/swig,paularmstrong/swig,mrazvan92/swig-async,cwhatley/swig,mrazvan92/swig-template-callback,CuteSephiroth/swig,zetlen/swig,jerrylin1002/swig,mrazvan92/swig-template-callback,gogobook/swig,gold3bear/swig,zongkelong/swig,CuteSephiroth/swig,Lochlan/swig,gold3bear/swig,mrazvan92/swig-async,genify/swig,cwhatley/swig,CuteSephiroth/swig,xiaoyang2022/swig,Thunf/swiger,mrazvan92/swig-template-callback,notthetup/swig,DragWeb/swig,zongkelong/swig,notthetup/swig,jerrylin1002/swig,jrvldam/swig,zetlen/swig,xiaoyang2022/swig,jerrylin1002/swig,paularmstrong/swig,mahdaen/swig,xiaoyang2022/swig,benpptung/swig,gold3bear/swig,cgvarela/swig,genify/swig,mrazvan92/swig-async,Thunf/swiger,cgvarela/swig,DragWeb/swig,gitoneman/swig,cgvarela/swig,notthetup/swig,jrvldam/swig,Lochlan/swig,zongkelong/swig,cwhatley/swig,benpptung/swig,gogobook/swig,DragWeb/swig,gogobook/swig,zetlen/swig,Thunf/swiger