Skip to content

Rework field code to avoid functions calls #105

@go2sh

Description

@go2sh

Hi all,

I really like your library and it helps us developing new apps very fast.

One problem I faced with it, especially on IFX tricore devices is, that every field get/set API is a function call. This adds a huge overhead:

  • The instruction cache is poisoned
  • Adds at least 4 additional cycles for the call it self
  • Increases the code size, because most field getters/setter can be render into a single instruction if the data is loaded.

This could be fixed relatively easy by making all getters setters inline.

BR,
go2sh

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions