Re: [PATCH 3/3] score: Optimize _Objects_Name_to_id_u32()

2020-08-31 Thread Sebastian Huber
On 30/08/2020 18:42, Gedare Bloom wrote: On Fri, Aug 21, 2020 at 2:32 AM Sebastian Huber wrote: Remove the superfluous invalid name check since the object creation directives ensure that objects with such a name cannot exist. Also Should it instead be a (debug) assert? finding an object

Re: [PATCH 3/3] score: Optimize _Objects_Name_to_id_u32()

2020-08-30 Thread Gedare Bloom
On Fri, Aug 21, 2020 at 2:32 AM Sebastian Huber wrote: > > Remove the superfluous invalid name check since the object creation > directives ensure that objects with such a name cannot exist. Also Should it instead be a (debug) assert? > finding an object with such a name would be no

[PATCH 3/3] score: Optimize _Objects_Name_to_id_u32()

2020-08-21 Thread Sebastian Huber
Remove the superfluous invalid name check since the object creation directives ensure that objects with such a name cannot exist. Also finding an object with such a name would be no catastrophy if it really exists. --- cpukit/score/src/objectnametoid.c | 3 --- 1 file changed, 3 deletions(-)