Skip to content

Improve SharpBrainArea execution #2

@AndreaCatania

Description

@AndreaCatania

In this moment the SharpBrainArea is using a function recursion to get the output.
IMO this is really good idea, but since the stack memory is not infinite the structure size is limited, and this limit change depending on the hardware where is running.

For this reason, even if the execution performances (at least with not too much recursion), I would like to re-implement it using a Loop.

https://github.com/AndreaCatania/brain/blob/neat/brain/brain_areas/sharp_brain_area.cpp#L163-L191

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions