Opened 10 years ago

Closed 10 years ago

#8302 closed Patches (fixed)

Lexer does not relase iterator

Reported by: Antony Polukhin Owned by: Hartmut Kaiser
Milestone: Boost 1.54.0 Component: spirit
Version: Boost Development Trunk Severity: Optimization
Keywords: Cc:

Description

One of the boost::spirit::lex::lexertl::detail::data specializations initializes iterator_range earlier than required, which leads to not optimal resource usage and failure to free some of the resources till the end of lexing.

Attachments (1)

functor_data.hpp.patch (614 bytes ) - added by Antony Polukhin 10 years ago.
Patch for boost/spirit/home/lex/lexer/lexertl/functor_data.hpp

Download all attachments as: .zip

Change History (2)

by Antony Polukhin, 10 years ago

Attachment: functor_data.hpp.patch added

Patch for boost/spirit/home/lex/lexer/lexertl/functor_data.hpp

comment:1 by Hartmut Kaiser, 10 years ago

Resolution: fixed
Status: newclosed

(In [83486]) Fix #8302: Lexer does not relase iterator - excellent catch!

Note: See TracTickets for help on using tickets.