You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I saw your project and it is very useful. however I had some performance issue when I was trying to use it. basically loading huge data from json is not efficient and takes a lot of time. so I loaded your json files into dicts and dumped them into a pickle file (using pickle library) and I got around 40% better performance when loading data from pickle files instead of json
I put the pickle files inside the package (I didn't zip them but they should work fine when zipped as well) and changed your method like this. also changed the paths you declared to these files
One solution is to pickle and compress with GZ the files. The file size will remain unchanged. Applying pickle (without compression) will increase the size of the files and is not practical.
It takes 7.1s to init with the current ZIP impl and 5.3s from PKL.GZ. I'm closer to a 25% speed gain.
Hi, I saw your project and it is very useful. however I had some performance issue when I was trying to use it. basically loading huge data from json is not efficient and takes a lot of time. so I loaded your json files into dicts and dumped them into a pickle file (using pickle library) and I got around 40% better performance when loading data from pickle files instead of json
I put the pickle files inside the package (I didn't zip them but they should work fine when zipped as well) and changed your method like this. also changed the paths you declared to these files
The text was updated successfully, but these errors were encountered: