CozySynthesizer / cozy

The collection synthesizer
https://cozy.uwplse.org
Apache License 2.0
209 stars 18 forks source link

Synthesize constructors #37

Open Calvin-L opened 6 years ago

Calvin-L commented 6 years ago

Currently Cozy uses the concretization functions produced by query synthesis to implement constructors on the data structure. However, the concretization functions are optmized for AST size, not for performance, so the constructor implementations can be extremely slow.

The code in high_level_interface.py should manage some additional query synthesis threads that optimize the concretization functions for runtime performance. The change will also likely need to add constructor information to impls.py.