CogComp / saul

Saul : Declarative Learning-Based Programming
Other
64 stars 18 forks source link

make creation of property caches lazy #313

Closed danyaljj closed 8 years ago

danyaljj commented 8 years ago

The main change: I realized that it creates empty hashmaps for ALL the properties (even those that are not supposed to be cached). Here we make the creation of property caches lazy so that it doesn't create cache for properties that are not supposed to be cached.

Made some minor changes in the code and documentation as well. It might look like many changes, but it's mostly minor.

bhargav commented 8 years ago

Looks good! I'll merge this tomorrow if no one complaints.

kordjamshidi commented 8 years ago

Ok for me.