Enhancement #429

Reduce event creation cost

Added by J. Moringen almost 13 years ago. Updated over 12 years ago.

Status:ResolvedStart date:07/20/2011
Priority:UrgentDue date:
Assignee:J. Moringen% Done:

100%

Category:-
Target version:0.4

Description

Main culprits:
  • Regex-based input validation in Scope constructor (see #464)
    • Regex compilation ✓ (now performed during static initialization removed)
    • Regex matching ✓ (removed)
  • UUID generation ✓ (fixed by #421, see #465)

Related issues

Related to Robotics Service Bus - Bug #465: Performance Bottleneck: expensive/frequent construction o... Resolved 08/01/2011
Related to Robotics Service Bus - Bug #464: Performance Bottleneck: expensive construction of Scope o... Resolved 08/01/2011

Associated revisions

Revision 77e0af00
Added by J. Moringen almost 13 years ago

Compile scope validation regex during static init in src/rsb/Scope.cpp
refs #429
  • src/rsb/Scope.cpp: compile regular expression used for scope string
    validation during static initialization rather than in the Scope
    constructor

History

#1 Updated by J. Moringen almost 13 years ago

  • Description updated (diff)
  • % Done changed from 0 to 50

#2 Updated by S. Wrede over 12 years ago

  • Target version changed from rsb-0.10 to 0.4

#3 Updated by J. Moringen over 12 years ago

  • Description updated (diff)
  • Status changed from New to Resolved
  • % Done changed from 50 to 100

Also available in: Atom PDF