gaorkl / simple-playgrounds

Simulator for Reinforcement Learning and AI. 2D environments with physics and interactive entities. Agents with rich sensors and actuators.
MIT License
27 stars 10 forks source link

Optimization of _compute_raw_sensor in SemanticCones class #47

Closed embaba closed 3 years ago

embaba commented 3 years ago

Optimization of _compute_raw_sensor in SemanticCones class

gaorkl commented 3 years ago

Hi, I think we are doing the same things. Is your solution faster?

gaorkl commented 3 years ago

Improved the computation by moving lookup table to init.