Skip to content

recreation of libraries instance when not necessary  #56

@mkarten

Description

@mkarten

in controllerLib.go when we init the package we create a map of functions that creates new instances of the designated Lib struct.
Not only does it waste memory but also prevent state conservation if a library needs to store a modified instance of one of it's internal variables

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions