Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code: Implement binary serialization and deserialization for model classes #94

Open
smarkwal opened this issue Jan 5, 2022 · 0 comments
Labels
techdebt Technical debts

Comments

@smarkwal
Copy link
Owner

smarkwal commented Jan 5, 2022

Implement a binary serialization and deserialization for all model classes (JarFile, ClassDef, FieldDef, MethodDef, ClassRef, etc.). Use it to store and load information about JAR files to/from a cache, using the JAR file's checksum and/or coordinates as key. Such a cache could dramatically speed up the scanning phase.

Open question:
How can we detect relevant changes to model classes so that JarHC can invalidate its cache?

Similar to #93.

@smarkwal smarkwal added the techdebt Technical debts label Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
techdebt Technical debts
Projects
None yet
Development

No branches or pull requests

1 participant